projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c4dfe
)
Ensure that the vectors are different.
author
Jarl Gullberg
<jarl.gullberg@gmail.com>
Wed, 31 May 2017 14:45:18 +0000
(16:45 +0200)
committer
Jarl Gullberg
<jarl.gullberg@gmail.com>
Wed, 31 May 2017 14:45:18 +0000
(16:45 +0200)
tests/OpenTK.Tests/Vector2Tests.fs
patch
|
blob
|
history
diff --git
a/tests/OpenTK.Tests/Vector2Tests.fs
b/tests/OpenTK.Tests/Vector2Tests.fs
index 3925c7c2660f7ab94875b21ad6231f6e896a5aac..1bde27daaf627db550249ea15b66c73678139435 100644
(file)
--- a/
tests/OpenTK.Tests/Vector2Tests.fs
+++ b/
tests/OpenTK.Tests/Vector2Tests.fs
@@
-165,7
+165,7
@@
module Vector2 =
[<Property>]
let ``Vector inequality operator works`` (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
Assert.True(inequality)