diff --git a/src/FSharp/FSharp-Net35.fsproj b/src/FSharp/FSharp-Net35.fsproj
index 905e033e..4a409250 100644
--- a/src/FSharp/FSharp-Net35.fsproj
+++ b/src/FSharp/FSharp-Net35.fsproj
@@ -86,6 +86,7 @@
+
@@ -103,7 +104,7 @@
-
+
..\..\packages\TaskParallelLibrary\lib\Net35\System.Threading.dll
diff --git a/src/FSharp/FSharp-Net35.fsproj.paket.references b/src/FSharp/FSharp-Net35.fsproj.paket.references
index f74f916a..47437b0a 100644
--- a/src/FSharp/FSharp-Net35.fsproj.paket.references
+++ b/src/FSharp/FSharp-Net35.fsproj.paket.references
@@ -1 +1 @@
-TaskParallelLibrary
+TaskParallelLibrary framework:net35
diff --git a/src/FSharp/FSharp-Portable47.fsproj b/src/FSharp/FSharp-Portable47.fsproj
index 5c49b938..2ac635ad 100644
--- a/src/FSharp/FSharp-Portable47.fsproj
+++ b/src/FSharp/FSharp-Portable47.fsproj
@@ -63,6 +63,7 @@
+
@@ -71,16 +72,7 @@
-
-
-
- ..\..\packages\FSharp.Core\lib\net20\FSharp.Core.dll
- True
- True
-
-
-
-
+
..\..\packages\FSharp.Core\lib\net40\FSharp.Core.dll
@@ -98,16 +90,7 @@
-
-
-
- ..\..\packages\FSharp.Core\lib\portable-net45+netcore45+wp8\FSharp.Core.dll
- True
- True
-
-
-
-
+
..\..\packages\FSharp.Core\lib\portable-net45+netcore45+wpa81+wp8\FSharp.Core.dll
diff --git a/src/FSharp/FSharp-Portable47.fsproj.paket.references b/src/FSharp/FSharp-Portable47.fsproj.paket.references
new file mode 100644
index 00000000..68cc0c9e
--- /dev/null
+++ b/src/FSharp/FSharp-Portable47.fsproj.paket.references
@@ -0,0 +1 @@
+FSharp.Core framework:portable-net45+sl5+netcore45
diff --git a/src/FSharp/FSharp.fsproj b/src/FSharp/FSharp.fsproj
index 6c8bb934..31a7ff73 100644
--- a/src/FSharp/FSharp.fsproj
+++ b/src/FSharp/FSharp.fsproj
@@ -87,6 +87,7 @@
+
diff --git a/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj b/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj
index 36d65165..73785656 100644
--- a/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj
+++ b/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj
@@ -87,8 +87,8 @@
-
+
@@ -113,7 +113,7 @@
-
+
..\..\packages\TaskParallelLibrary\lib\Net35\System.Threading.dll
@@ -124,7 +124,7 @@
-
+
..\..\packages\test\FSharp.Core\lib\net20\FSharp.Core.dll
@@ -133,67 +133,8 @@
-
-
-
- ..\..\packages\test\FSharp.Core\lib\net40\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45+wp8\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45+wpa81+wp8\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+sl5+netcore45\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\net20\NUnit.System.Linq.dll
- True
- True
-
-
- ..\..\packages\test\NUnit\lib\net20\nunit.framework.dll
- True
- True
-
-
-
@@ -203,32 +144,5 @@
-
-
-
- ..\..\packages\test\NUnit\lib\net40\nunit.framework.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\net45\nunit.framework.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10\nunit.framework.dll
- True
- True
-
-
-
\ No newline at end of file
diff --git a/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj.paket.references b/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj.paket.references
index daf85901..4db1a13e 100644
--- a/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj.paket.references
+++ b/src/FSharpUnitTests/FSharpUnitTests-Net35.fsproj.paket.references
@@ -1,7 +1,7 @@
-TaskParallelLibrary
+TaskParallelLibrary framework:net35
File:FsUnit.fs
File:FsUnitTyped.fs
group Test
- NUnit
- FSharp.Core
+ NUnit framework:net35
+ FSharp.Core framework:net35
diff --git a/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj b/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj
index 237958dc..45910b73 100644
--- a/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj
+++ b/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj
@@ -41,6 +41,13 @@
+
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets
+
+
+ $(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets
+
+
True
@@ -50,12 +57,27 @@
True
paket-files/FsUnitTyped.fs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
Numerics-Portable47
{49205185-621E-FFB9-2104-887C9F1BBD13}
@@ -70,41 +92,8 @@
True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets
-
-
- $(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\net20\FSharp.Core.dll
- True
- True
-
-
-
-
+
..\..\packages\test\FSharp.Core\lib\net40\FSharp.Core.dll
@@ -113,77 +102,9 @@
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45+wp8\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+netcore45+wpa81+wp8\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\FSharp.Core\lib\portable-net45+sl5+netcore45\FSharp.Core.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\net20\NUnit.System.Linq.dll
- True
- True
-
-
- ..\..\packages\test\NUnit\lib\net20\nunit.framework.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\net35\nunit.framework.dll
- True
- True
-
-
-
-
-
-
- ..\..\packages\test\NUnit\lib\net40\nunit.framework.dll
- True
- True
-
-
-
-
+
..\..\packages\test\NUnit\lib\net45\nunit.framework.dll
@@ -192,14 +113,5 @@
-
-
-
- ..\..\packages\test\NUnit\lib\portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10\nunit.framework.dll
- True
- True
-
-
-
\ No newline at end of file
diff --git a/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj.paket.references b/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj.paket.references
new file mode 100644
index 00000000..5c33b125
--- /dev/null
+++ b/src/FSharpUnitTests/FSharpUnitTests-Portable47.fsproj.paket.references
@@ -0,0 +1,6 @@
+File:FsUnit.fs
+File:FsUnitTyped.fs
+
+group Test
+ NUnit framework:net45
+ FSharp.Core framework:net45
diff --git a/src/FSharpUnitTests/QuaternionTests.fs b/src/FSharpUnitTests/QuaternionTests.fs
index 7841f08f..f0a260ac 100644
--- a/src/FSharpUnitTests/QuaternionTests.fs
+++ b/src/FSharpUnitTests/QuaternionTests.fs
@@ -16,12 +16,14 @@ module QuaternionTests =
let q = {w= -4.0;x= 3.0; y= -2.0; z= 1.0}
[]
+ []
let ``Quaternion.create`` () =
let fourtyFiveDegreesInRadians = 45.0 * Math.PI / 180.0
Quaternion.create fourtyFiveDegreesInRadians 1.0 0.0 0.0 |>
shouldEqual {w = 0.92387953251128674; x = 0.38268343236508978; y = 0.0; z = 0.0;}
[]
+ []
let ``Quaternion.create normalizes input vector`` () =
let fourtyFiveDegreesInRadians = 45.0 * Math.PI / 180.0
Quaternion.create fourtyFiveDegreesInRadians 100.0 0.0 0.0 |>