Ensure that the vectors are different.
This commit is contained in:
parent
c4c4dfecc5
commit
9ac04b9e36
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue