public ATestDto MyNullFloatProp(float?expect) { MyNullFloatProp(AFloat.EqualTo(expect)); return(this); }
public ATestDto MyPrimFloatProp(float expect) { MyPrimFloatProp(AFloat.EqualTo(expect)); return(this); }
public void EqualToTest() { AssertFails(4.999999F, AFloat.EqualTo(5F)); AssertPasses(5F, AFloat.EqualTo(5F)); AssertFails(5.000001F, AFloat.EqualTo(5F)); }