removed sysouts from tests, so that not working code seems working
This commit is contained in:
parent
20dff9e8c6
commit
1920b879a5
@ -159,12 +159,7 @@ public class Tester {
|
||||
if(!listOfPlayers.equals("ONeill: 1, 2 Jaffa: -666, -666 Replicator: -666, -666"))
|
||||
success = false;
|
||||
|
||||
System.out.print("moveTest: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
return success;
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -188,11 +183,6 @@ public class Tester {
|
||||
if(!listOfPlayers.equals("ONeill: 5, 9 Jaffa: -666, -666 Replicator: -666, -666"))
|
||||
success = false;
|
||||
|
||||
System.out.print("testStargates: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@ -209,12 +199,7 @@ public class Tester {
|
||||
|
||||
if(!gateOpen.equals("gate open"))
|
||||
success = false;
|
||||
|
||||
System.out.print("testScalesAndGates: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@ -226,11 +211,6 @@ public class Tester {
|
||||
|
||||
boolean success = oneill.isDestroyed();
|
||||
|
||||
System.out.print("gapTest: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@ -244,11 +224,6 @@ public class Tester {
|
||||
if(oneill.getZPMCount() != 1)
|
||||
success = false;
|
||||
|
||||
System.out.print("ZPMTest: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@ -261,11 +236,6 @@ public class Tester {
|
||||
|
||||
boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
|
||||
|
||||
System.out.print("testReplicatorPosition: ");
|
||||
if(results)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return results;
|
||||
}
|
||||
|
||||
@ -276,12 +246,7 @@ public class Tester {
|
||||
String[] expectedOutputs = {};
|
||||
boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
|
||||
|
||||
System.out.print("timeUpTest: ");
|
||||
if(results)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return results;
|
||||
return results;
|
||||
}
|
||||
|
||||
|
||||
@ -297,11 +262,6 @@ public class Tester {
|
||||
if(!rotate("O", "R").equals("NORTH"))
|
||||
success = false;
|
||||
|
||||
System.out.print("rotationTest: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@ -317,11 +277,6 @@ public class Tester {
|
||||
if(!boxDrop("O").equals("box dropped"))
|
||||
success = false;
|
||||
|
||||
System.out.print("testBoxes: ");
|
||||
if(success)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user