public void AssertVectorsNotNearlyEqual_NotNearlyEqual_Passes() { var expectedVector = new Vector3(1.0f, 2.0f, 3.0f); ExtendedAssertions.AssertVectorsNotNearlyEqual(expectedVector, expectedVector + new Vector3(1.0f, 2.0f, 3.0f)); }
public void AssertVectorsNotNearlyEqual_NearlyEqual_Fails() { var expectedVector = new Vector3(1.0f, 2.0f, 3.0f); Assert.Throws <AssertionException>(() => ExtendedAssertions.AssertVectorsNotNearlyEqual(expectedVector, expectedVector)); }