Exemplo n.º 1
0
 // test the selection cycle
 @Test
 public void cycleTest1() {
   this.m.updateSignature(2);
   String expected = "a";
   String result = m.getListOfPrefixes().get(0).toString();
   assertEquals(expected, result);
 }
Exemplo n.º 2
0
 @Test
 public void cycleTest2() {
   this.m.updateSignature(2);
   this.m.cyclePrefixSelection();
   String expected = "b";
   String result = m.getListOfPrefixes().get(1).toString();
   assertEquals(expected, result);
 }