Skip to content
Snippets Groups Projects
Commit dc0a785a authored by Dennis Eisold's avatar Dennis Eisold
Browse files

Unittest für Klasse Walze

parent 170f530a
No related branches found
No related tags found
No related merge requests found
package Enigma.model;
import org.junit.Assert;
import org.junit.Test;
import static org.junit.Assert.*;
public class WalzeTest {
@Test
public void setzeNotch() {
/*Walze w = new Walze(1);
w.setzeNotch('G');
Assert.assertEquals('G', w.wlazenPosition());*/
}
@Test
public void dreheWalze() {
/*Walze w = new Walze(1);
w.setzeNotch('G');
w.dreheWalze();
Assert.assertEquals('H', w.wlazenPosition());*/
}
@Test
public void walzenPoition() {
/*Walze w = new Walze(1);
w.setzeNotch('G');
Assert.assertEquals('G', w.wlazenPosition());*/
}
@Test
public void codiere() {
/*Walze w = new Walze(1);
w.setzeNotch('A');
Assert.assertEquals('E', w.codiere('A'));*/
}
@Test
public void codiere2() {
/*Walze w = new Walze(1);
w.setzeNotch('A');
Assert.assertEquals('A', w.codiere('E'));*/
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment