assertEquals("Wrong association for property", 8.0, aa1.getFloatAssociation(), 0.00001);
}
@Test
public void testEquals() {
AssociationProperty aa1 = new AssociationIntProperty(5);
AssociationProperty aa2 = new AssociationIntProperty(5);
AssociationProperty aa3 = new AssociationFloatProperty(5);
AssociationProperty aa4 = new AssociationFloatProperty(5);
assertTrue("Should be equal", aa1.equals(aa1));
assertTrue("Should be equal", aa1.equals(aa2));
assertFalse("Should not be equal", aa1.equals(aa3));
assertTrue("Should be equal", aa3.equals(aa3));