From b1078581d4730d4944180a739fcce51a39259112 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 3 Nov 2019 12:55:03 +0100 Subject: Initialize gradle project --- src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java (limited to 'src/test') 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)); + } +} -- cgit v1.2.3