예제 #1
0
 @Test
 public void doesNotEqualDifferentTeam() throws Exception {
   Team otherTeam = new Team(2000, school);
   assertFalse(team.equals(otherTeam));
 }
예제 #2
0
 @Test
 public void equalsSameTeam() throws Exception {
   Team otherTeam = new Team(1900, school);
   assertTrue(team.equals(otherTeam));
 }