@Test public void testWhileInSeqToString() { Program whileInSeqProgram = new Program(whileinseq, robot); assertTrue(whileinseq.equals(whileInSeqProgram.toString())); }
@Test public void testGumpToString() { Program gumpProgram = new Program(gump, robot); assertTrue(gump.equals(gumpProgram.toString())); }
@Test public void testMoveToString() { Program moveProgram = new Program(move, robot); assertTrue(move.equals(moveProgram.toString())); }
@Test public void testExampleInOneLineToString() { Program exampleInOneLineProgram = new Program(exampleinoneline, robot); assertTrue(example.equals(exampleInOneLineProgram.toString())); }
@Test public void testExample4SpaceExtraNewLinesToString() { Program example4SpaceExtraNewLinesProgram = new Program(example4spaceextranewlines, robot); assertTrue(example.equals(example4SpaceExtraNewLinesProgram.toString())); }
@Test public void testExampleToString() { Program exampleProgram = new Program(example, robot); assertTrue(example.equals(exampleProgram.toString())); }
@Test public void testEmptyStringToString() { Program emptyStringProgram = new Program(emptyString, robot); assertTrue(emptyString.equals(emptyStringProgram.toString())); }
@Test public void testCowboyToString() { Program cowboyProgram = new Program(cowboy, robot); assertTrue(cowboy.equals(cowboyProgram.toString())); }