added replicatorPosition test in Tester.java
This commit is contained in:
		@@ -173,7 +173,22 @@ public class Tester {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        return results;
 | 
					        return results;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
    
 | 
					    @Test
 | 
				
			||||||
 | 
					    boolean replicatorPosition(){
 | 
				
			||||||
 | 
					        String[] commands = {"loadMap testReplicatorPosition\n",
 | 
				
			||||||
 | 
					                "move O\n"};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        String[] expectedOutputs = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return testOnSequenceOfCommands(commands, expectedOutputs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        System.out.print("replicatorPosition: ");
 | 
				
			||||||
 | 
					        if(results)
 | 
				
			||||||
 | 
					            System.out.println("Sikeres!");
 | 
				
			||||||
 | 
					        else System.out.println("Sikertelen!");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return results;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user