33 lines
695 B
Java
33 lines
695 B
Java
package jmri.jmrit.ussctc;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
* Tests for Lock class in the jmri.jmrit.ussctc package
|
|
*
|
|
* @author Paul Bender Copyright 2018
|
|
*/
|
|
public class LockTest {
|
|
|
|
@Test
|
|
public void testEnumValues() {
|
|
// this is a pretty poor test, but the class under test is an interface
|
|
// with an enum that isn't used anywhere in the Java code.
|
|
Assert.assertNotEquals(Lock.Valid.FIELD_TURNOUT,Lock.Valid.FIELD_SIGNAL);
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
}
|