From 7f225b850c082cee5b384f47ee894276bb1c5b21 Mon Sep 17 00:00:00 2001 From: punchready Date: Fri, 30 Apr 2021 20:56:32 +0200 Subject: [PATCH] feat: add arbitrary test as base --- .../teamname/marvelous/gamelibrary/TupleTest.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/test/java/uulm/teamname/marvelous/gamelibrary/TupleTest.java diff --git a/src/test/java/uulm/teamname/marvelous/gamelibrary/TupleTest.java b/src/test/java/uulm/teamname/marvelous/gamelibrary/TupleTest.java new file mode 100644 index 0000000..8452bf0 --- /dev/null +++ b/src/test/java/uulm/teamname/marvelous/gamelibrary/TupleTest.java @@ -0,0 +1,15 @@ +package uulm.teamname.marvelous.gamelibrary; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.*; + +class TupleTest { + @Test + void basic() { + var a = new Tuple(0, 1); + assertEquals((int) a.item1, 0); + assertEquals((int) a.item2, 1); + } +}