diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java new file mode 100644 index 0000000..6bfc3a0 --- /dev/null +++ b/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java @@ -0,0 +1,12 @@ +package pl.edu.mimuw.cloudatlas.model; + +import org.junit.Test; +import static org.junit.Assert.*; + +public class ValueDurationTest { + @Test + public void testGetValue() { + ValueDuration v = new ValueDuration(42l); + assertEquals(v.getValue(), new Long(42l)); + } +} |