import student.TestCase; /** * * @author nickgrifasi * @version 9/20/21 * Tests the CommandFileScanner class */ public class CommandFileScannerTest extends TestCase { /** * setUp method for test */ public void setUp() { //intentionally left empty } /** * method to test the scanner */ public void testScanner() { // CommandFileScanner fileScan = new CommandFileScanner("faketest.txt"); // assertFalse(fileScan.fileScan()); // // CommandFileScanner fileScan2 = new CommandFileScanner("P1test1.txt"); // assertTrue(fileScan2.fileScan()); // // CommandFileScanner fileScan3 = new CommandFileScanner("P1test2.txt"); // assertTrue(fileScan3.fileScan()); CommandFileScanner fileScan4 = new CommandFileScanner("standardInput.txt"); assertTrue(fileScan4.fileScan()); } }