Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Integration.Test/GrassCoverErosionInwardsCalculationActivityIntegrationTest.cs
===================================================================
diff -u -r975eb14461865f3e93dfd8224fc9f10fd71b0adb -r171bef69ca437d9501abcfe0ab858c6e7ce89061
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Integration.Test/GrassCoverErosionInwardsCalculationActivityIntegrationTest.cs (.../GrassCoverErosionInwardsCalculationActivityIntegrationTest.cs) (revision 975eb14461865f3e93dfd8224fc9f10fd71b0adb)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Integration.Test/GrassCoverErosionInwardsCalculationActivityIntegrationTest.cs (.../GrassCoverErosionInwardsCalculationActivityIntegrationTest.cs) (revision 171bef69ca437d9501abcfe0ab858c6e7ce89061)
@@ -474,16 +474,19 @@
var activity = new GrassCoverErosionInwardsCalculationActivity(calculation, testDataPath, assessmentSection.GrassCoverErosionInwards, assessmentSection);
- activity.Run();
+ using (new HydraRingCalculatorFactoryConfig())
+ {
+ activity.Run();
+ }
// Call
activity.Finish();
// Assert
Assert.IsNotNull(calculation.Output);
ProbabilityAssessmentOutput probabilisticAssessmentOutput = calculation.Output.ProbabilityAssessmentOutput;
- Assert.AreEqual((RoundedDouble) 5.954, probabilisticAssessmentOutput.Reliability);
- Assert.AreEqual((RoundedDouble) 5.76, calculation.Output.DikeHeight);
+ Assert.IsFalse(double.IsNaN(probabilisticAssessmentOutput.Reliability));
+ Assert.IsFalse(double.IsNaN(calculation.Output.DikeHeight));
Assert.IsTrue(calculation.Output.DikeHeightCalculated);
mocks.VerifyAll();
}
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj
===================================================================
diff -u -r975eb14461865f3e93dfd8224fc9f10fd71b0adb -r171bef69ca437d9501abcfe0ab858c6e7ce89061
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj (.../Ringtoets.GrassCoverErosionInwards.Service.Test.csproj) (revision 975eb14461865f3e93dfd8224fc9f10fd71b0adb)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj (.../Ringtoets.GrassCoverErosionInwards.Service.Test.csproj) (revision 171bef69ca437d9501abcfe0ab858c6e7ce89061)
@@ -47,6 +47,10 @@
+
+ ..\..\..\..\packages\System.Data.SQLite.Core.1.0.99.0\lib\net40\System.Data.SQLite.dll
+ True
+
@@ -97,6 +101,13 @@
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+