@@ -0,0 +1,1613 @@
+package org.usfirst.frc5933.ubot.subsystems;%0A%0Aimport edu.wpi.first.wpilibj.RobotDrive;%0Aimport org.junit.jupiter.api.AfterAll;%0Aimport org.junit.jupiter.api.BeforeAll;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.usfirst.frc5933.Utilities;%0Aimport org.usfirst.frc5933.ubot.Robot;%0Aimport org.usfirst.frc5933.ubot.RobotMap;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertEquals;%0Aimport static org.junit.jupiter.api.Assertions.assertNotEquals;%0A%0Apublic class DriveTrainTest %7B%0A    private static RobotDrive robotDrive;%0A    private static DriveTrain driveTrain;%0A%0A    @BeforeAll%0A    public static void startRobot() %7B%0A        Utilities.startToast();%0A        Robot robot = new Robot();%0A        robot.prestart();%0A        robotDrive = RobotMap.driveTrainRobotDrive;%0A        driveTrain = Robot.driveTrain;%0A    %7D%0A%0A    @AfterAll%0A    public static void stopRobot() %7B%0A        Utilities.shutdownToast();%0A    %7D%0A%0A    @Test%0A    public void stopTest() %7B%0A        robotDrive.tankDrive(1, 1);%0A        assertEquals(true, RobotMap.driveTrainFrontLeftMotor.isEnabled());%0A        assertEquals(true, RobotMap.driveTrainFrontRightMotor.isEnabled());%0A        assertEquals(true, RobotMap.driveTrainRearLeftMotor.isEnabled());%0A        assertEquals(true, RobotMap.driveTrainRearRightMotor.isEnabled());%0A        driveTrain.stop();%0A        assertEquals(false, RobotMap.driveTrainFrontLeftMotor.isEnabled());%0A        assertEquals(false, RobotMap.driveTrainFrontRightMotor.isEnabled());%0A        assertEquals(false, RobotMap.driveTrainRearLeftMotor.isEnabled());%0A        assertEquals(false, RobotMap.driveTrainRearRightMotor.isEnabled());%0A    %7D%0A%7D%0A

Test driveTrain.stop()