removed sysouts from tests, so that not working code seems working
This commit is contained in:
		@@ -159,11 +159,6 @@ 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;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -210,11 +200,6 @@ 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,11 +246,6 @@ 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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user