@@ -0,0 +1,2259 @@
+package junit.org.rapidpm.frp.model;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertEquals;%0Aimport static org.junit.jupiter.api.Assertions.assertFalse;%0Aimport static org.junit.jupiter.api.Assertions.assertNotNull;%0Aimport static org.junit.jupiter.api.Assertions.assertNull;%0Aimport static org.junit.jupiter.api.Assertions.assertTrue;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport org.rapidpm.frp.model.Triple;%0A%0Apublic class TripleTest %7B%0A%0A  @Test%0A  public void testEquals() %7B%0A    final Triple triple = new Triple(0, 1, 2);%0A%0A    assertTrue(triple.equals(triple));%0A    assertFalse(triple.equals(null));%0A    assertFalse(triple.equals(new Triple(null, 1, 2)));%0A    assertFalse(triple.equals(new Triple(0, null, 2)));%0A  %7D%0A%0A  @Test%0A  public void testEqualsT1() %7B%0A    final Triple triple = new Triple(null, 1, 2);%0A%0A    assertTrue(triple.equals(new Triple(null, 1, 2)));%0A    assertFalse(triple.equals(new Triple(0, 1, 2)));%0A  %7D%0A%0A  @Test%0A  public void testEqualsT2() %7B%0A    final Triple triple = new Triple(0, null, 2);%0A%0A    assertTrue(triple.equals(new Triple(0, null, 2)));%0A    assertFalse(triple.equals(new Triple(0, 1, 2)));%0A  %7D%0A%0A  @Test%0A  public void testEqualsT3() %7B%0A    final Triple triple = new Triple(0, 1, null);%0A%0A    assertTrue(triple.equals(new Triple(0, 1, null)));%0A    assertFalse(triple.equals(new Triple(0, 1, 2)));%0A  %7D%0A%0A  @Test%0A  public void testHashCode() %7B%0A    final Triple triple = new Triple(0, 1, 2);%0A%0A    assertEquals(33, triple.hashCode());%0A  %7D%0A%0A  @Test%0A  public void testHashCodeT1() %7B%0A    final Triple triple = new Triple(null, 1, 2);%0A%0A    assertEquals(33, triple.hashCode());%0A  %7D%0A%0A  @Test%0A  public void testHashCodeT2() %7B%0A    final Triple triple = new Triple(0, null, 2);%0A%0A    assertEquals(2, triple.hashCode());%0A  %7D%0A%0A  @Test%0A  public void testHashCodeT3() %7B%0A    final Triple triple = new Triple(0, 1, null);%0A%0A    assertEquals(31, triple.hashCode());%0A  %7D%0A%0A  @Test%0A  public void testNext() %7B%0A    final Triple triple = Triple.next(0, 1, 2);%0A%0A    assertNotNull(triple);%0A    assertEquals(0, triple.getT1());%0A    assertEquals(1, triple.getT2());%0A    assertEquals(2, triple.getT3());%0A  %7D%0A%0A  @Test%0A  public void testToString() %7B%0A    final Triple triple = new Triple(0, 1, 2);%0A%0A    assertEquals(%22Triple%7Bt1=0, t2=1, t3=2%7D%22, triple.toString());%0A  %7D%0A%7D%0A

Add unit tests for org.rapidpm.frp.model.Triple These tests were written using Diffblue Cover.