Ensure that the vectors are different.

This commit is contained in:
Jarl Gullberg 2017-05-31 16:45:18 +02:00
parent c4c4dfecc5
commit 9ac04b9e36
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -165,7 +165,7 @@ module Vector2 =
[<Property>] [<Property>]
let ``Vector inequality operator works`` (x, y) = let ``Vector inequality operator works`` (x, y) =
let v1 = Vector2(x, y) let v1 = Vector2(x, y)
let v2 = Vector2(y, x) let v2 = Vector2(x + (float32)1 , y + (float32)1)
let inequality = v1 <> v2 let inequality = v1 <> v2
Assert.True(inequality) Assert.True(inequality)