small changes
This commit is contained in:
@@ -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)
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user