/** Test of toString method, of class DefaultOrdinalReferenceSystem. */ @Test public void testToString() { String result = ordinalReferenceSystem1.toString(); assertFalse(ordinalReferenceSystem2.toString().equals(result)); }
/** Test of equals method, of class DefaultOrdinalReferenceSystem. */ @Test public void testEquals() { assertFalse(ordinalReferenceSystem1.equals(null)); assertEquals(ordinalReferenceSystem1, ordinalReferenceSystem1); assertFalse(ordinalReferenceSystem1.equals(ordinalReferenceSystem2)); }
/** Test of hashCode method, of class DefaultOrdinalReferenceSystem. */ @Test public void testHashCode() { int result = ordinalReferenceSystem1.hashCode(); assertFalse(ordinalReferenceSystem2.hashCode() == result); }
/** Test of getOrdinalEraSequence method, of class DefaultOrdinalReferenceSystem. */ @Test public void testGetOrdinalEraSequence() { Collection<OrdinalEra> result = ordinalReferenceSystem1.getOrdinalEraSequence(); assertEquals(ordinalReferenceSystem2.getOrdinalEraSequence(), result); }