// Path: src/ftc/electronvolts/util/StateTimer.java
// public class StateTimer {
//     private long endTime;
// 
//     /**
//      * Start the timer
//      *
//      * @param durationMillis how long the timer will run in milliseconds
//      */
//     public void init(long durationMillis) {
//         this.endTime = durationMillis + System.currentTimeMillis();
//     }
// 
//     /**
//      * @return whether or not the time has elapsed yet
//      */
//     public boolean isDone() {
//         return System.currentTimeMillis() >= endTime;
//     }
// }


import static org.junit.Assert.*;
import org.junit.Test;
import ftc.electronvolts.util.StateTimer;
package ftc.electronvolts.test.util;




public class StateTimerTest {

    public static void delay(long ms) {
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Test
    public void testStateTimer() {
// Path: src/ftc/electronvolts/util/StateTimer.java
// public class StateTimer {
//     private long endTime;
// 
//     /**
//      * Start the timer
//      *
//      * @param durationMillis how long the timer will run in milliseconds
//      */
//     public void init(long durationMillis) {
//         this.endTime = durationMillis + System.currentTimeMillis();
//     }
// 
//     /**
//      * @return whether or not the time has elapsed yet
//      */
//     public boolean isDone() {
//         return System.currentTimeMillis() >= endTime;
//     }
// }


// Path: src/ftc/electronvolts/test/util/StateTimerTest.java
import static org.junit.Assert.*;
import org.junit.Test;
import ftc.electronvolts.util.StateTimer;

package ftc.electronvolts.test.util;




public class StateTimerTest {

    public static void delay(long ms) {
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Test
    public void testStateTimer() {
        StateTimer t = new StateTimer();