Permalink
Browse files

added setup for unit tests- error in initializing robot

  • Loading branch information...
Linnea
Linnea committed Dec 5, 2018
1 parent 1b20874 commit 29adc9d801f92ae31acc01c09f7c3c630efc2359
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 29adc9d

Please sign in to comment.