5657585960616263
assertEquals(CommandBase.drivetrain.getDefaultCommand().getName(), expected.getName()); } @Test public void testTankDrive(){ Drivetrain test = new Drivetrain(); test.tankDrive(1, 1); }
6263646566676869707172
test.tankDrive(1, 1); } @Test public void testSetGear(){ Drivetrain test = CommandBase.drivetrain; test.setGear(false); assertFalse(test.gearShift.get()); test.setGear(true); assertTrue(test.gearShift.get()); }