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:
be213a7
)
Missed one.
author
Jarl Gullberg
<jarl.gullberg@gmail.com>
Wed, 31 May 2017 20:28:51 +0000
(22:28 +0200)
committer
Jarl Gullberg
<jarl.gullberg@gmail.com>
Wed, 31 May 2017 20:28:51 +0000
(22:28 +0200)
tests/OpenTK.Tests/Vector2Tests.fs
patch
|
blob
|
history
diff --git
a/tests/OpenTK.Tests/Vector2Tests.fs
b/tests/OpenTK.Tests/Vector2Tests.fs
index
e2947b7
..
7b6310b
100644
(file)
--- a/
tests/OpenTK.Tests/Vector2Tests.fs
+++ b/
tests/OpenTK.Tests/Vector2Tests.fs
@@
-335,7
+335,7
@@
module Vector2 =
let scale = 1.0f / a.Length
let norm = Vector2(a.X * scale, a.Y * scale)
- Assert.ApproximatelyEqual(norm, Vector
3
.Normalize(a));
+ Assert.ApproximatelyEqual(norm, Vector
2
.Normalize(a));
[<Property>]
let ``Fast approximate normalization by reference works`` (a : Vector2) =