Package edu.stuy.subsystems

Examples of edu.stuy.subsystems.Drivetrain


        assertEquals(CommandBase.drivetrain.getDefaultCommand().getName(), expected.getName());
    }

    @Test
    public void testTankDrive(){
        Drivetrain test = new Drivetrain();
        test.tankDrive(1, 1);
    }
View Full Code Here


        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());
    }
View Full Code Here

TOP

Related Classes of edu.stuy.subsystems.Drivetrain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.