small changes

This commit is contained in:
2018-03-11 22:55:37 +01:00
parent f836afbcdb
commit e55d7b2c67
2 changed files with 2 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ public class Tuple<T1, T2> {
} }
/** /**
* Compares the Tuple to the given object.
* *
* @param o * @param o
* The object to compare to. * The object to compare to.
@@ -100,6 +101,7 @@ public class Tuple<T1, T2> {
} }
/** /**
* Generates a hash code of the items of the Tuple
* *
* @return The hash code of item1 and item2 * @return The hash code of item1 and item2
* | result == Objects.hash(item1, item2) * | result == Objects.hash(item1, item2)

View File

@@ -3,7 +3,6 @@ package worms.model;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.RepetitionInfo;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*;
import worms.util.Tuple; import worms.util.Tuple;