app/src/test/java/ch/epfl/sweng/studdybuddy/HelperTest.java
package ch.epfl.sweng.studdybuddy;
import org.junit.Test;
import ch.epfl.sweng.studdybuddy.core.Pair;
import ch.epfl.sweng.studdybuddy.util.Helper;
import static org.junit.Assert.assertEquals;
public class HelperTest {
@Test
public void pairHashcodeEqualsHashcodeOfBothPairs() {
assertEquals(Helper.hashCode(new Pair("a", "b")), Integer.toString(("a" + "b").hashCode()));
}
}