Permalink
Browse files

Merge pull request #3 from gatorbotics1700/talonSRX

 added setup for unit tests- error in initializing robot
  • Loading branch information...
kirmani committed Dec 5, 2018
2 parents 98027d9 + 8d0e433 commit d01e3138e4ccf9d0b2ffe338cbfe04b1fd98db75
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/test/java/org/usfirst/frc/team1700/robot/teleopTest/RobotTest.java
@@ -1,10 +1,17 @@
package org.usfirst.frc.team1700.robot.teleopTest;

import org.junit.jupiter.api.Test;
//import org.usfirst.frc.team1700.robot.Robot;
import org.usfirst.frc.team1700.robot.Robot;
import org.junit.jupiter.api.BeforeEach;

public class RobotTest {
// Robot.robotInit();
private Robot robot;

@BeforeEach
public void setUp(){
System.out.println("setup function");
robot = new Robot();
}

@Test
public void testFun(){

0 comments on commit d01e313

Please sign in to comment.