m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 12:55:03 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 12:55:03 +0100
commitb1078581d4730d4944180a739fcce51a39259112 (patch)
treec8481f3667de53074810b7b678c49aad7d1881a3 /src/test/java
parent9639cc6e14b00c6039b4a35c39764f66cc48cb7a (diff)
Initialize gradle project
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java12
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));
+ }
+}