boolean rotationTest() added to Tester
This commit is contained in:
		@@ -246,4 +246,20 @@ public class Tester {
 | 
				
			|||||||
        return results;  
 | 
					        return results;  
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    @Test
 | 
				
			||||||
 | 
					    boolean rotationTest(){
 | 
				
			||||||
 | 
					        String[] commands = {"loadMap rotationTest\n",
 | 
				
			||||||
 | 
					                             "Rotate O L\n",
 | 
				
			||||||
 | 
					                             "Rotate O R\n"};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        String[] expectedOutputs = {};
 | 
				
			||||||
 | 
					        boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        System.out.print("rotationTest: ");
 | 
				
			||||||
 | 
					        if(results)
 | 
				
			||||||
 | 
					            System.out.println("Sikeres!");
 | 
				
			||||||
 | 
					        else System.out.println("Sikertelen!");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return results;      
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user