Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -r1ba3eebbfe2ac3df531f67700f8f787302d8582c -r2ce31f95c63ed49dff8df2d2fdc03960ed20c9df --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsOutputContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsOutputContextTreeNodeInfoTest.cs) (revision 1ba3eebbfe2ac3df531f67700f8f787302d8582c) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsOutputContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsOutputContextTreeNodeInfoTest.cs) (revision 2ce31f95c63ed49dff8df2d2fdc03960ed20c9df) @@ -99,7 +99,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); // Call - Color color = info.ForeColor(new GrassCoverErosionInwardsOutputContext(new GrassCoverErosionInwardsCalculation(), + Color color = info.ForeColor(new GrassCoverErosionInwardsOutputContext(new GrassCoverErosionInwardsCalculation(double.NaN), failureMechanism, assessmentSection)); @@ -119,7 +119,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); // Call - Color color = info.ForeColor(new GrassCoverErosionInwardsOutputContext(new GrassCoverErosionInwardsCalculation + Color color = info.ForeColor(new GrassCoverErosionInwardsOutputContext(new GrassCoverErosionInwardsCalculation(double.NaN) { Output = new TestGrassCoverErosionInwardsOutput() }, failureMechanism, assessmentSection)); @@ -151,7 +151,7 @@ var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsCalculation = new GrassCoverErosionInwardsCalculation + var grassCoverErosionInwardsCalculation = new GrassCoverErosionInwardsCalculation(double.NaN) { Output = hasOutput ? new TestGrassCoverErosionInwardsOutput() : null }; Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -r1ba3eebbfe2ac3df531f67700f8f787302d8582c -r2ce31f95c63ed49dff8df2d2fdc03960ed20c9df --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingOutputContextTreeNodeInfoTest.cs (.../OvertoppingOutputContextTreeNodeInfoTest.cs) (revision 1ba3eebbfe2ac3df531f67700f8f787302d8582c) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingOutputContextTreeNodeInfoTest.cs (.../OvertoppingOutputContextTreeNodeInfoTest.cs) (revision 2ce31f95c63ed49dff8df2d2fdc03960ed20c9df) @@ -105,7 +105,7 @@ mocks.ReplayAll(); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); // Call Color color = info.ForeColor(new OvertoppingOutputContext(calculation, failureMechanism, assessmentSection)); @@ -122,7 +122,7 @@ mocks.ReplayAll(); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var calculation = new GrassCoverErosionInwardsCalculation + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN) { Output = new GrassCoverErosionInwardsOutput( new TestOvertoppingOutput(0.5), Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingRateOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -r1ba3eebbfe2ac3df531f67700f8f787302d8582c -r2ce31f95c63ed49dff8df2d2fdc03960ed20c9df --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingRateOutputContextTreeNodeInfoTest.cs (.../OvertoppingRateOutputContextTreeNodeInfoTest.cs) (revision 1ba3eebbfe2ac3df531f67700f8f787302d8582c) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/OvertoppingRateOutputContextTreeNodeInfoTest.cs (.../OvertoppingRateOutputContextTreeNodeInfoTest.cs) (revision 2ce31f95c63ed49dff8df2d2fdc03960ed20c9df) @@ -100,7 +100,7 @@ public void ForeColor_HasNoOutput_ReturnGrayText() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN) { Output = new GrassCoverErosionInwardsOutput( new TestOvertoppingOutput(0.5), @@ -119,7 +119,7 @@ public void ForeColor_HasOutput_ReturnControlText() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN) { Output = new GrassCoverErosionInwardsOutput( new TestOvertoppingOutput(0.5), Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/UpdateInfos/DikeProfilesContextUpdateInfoTest.cs =================================================================== diff -u -r886b86a66f072735567285a3489923186c236c32 -r2ce31f95c63ed49dff8df2d2fdc03960ed20c9df --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/UpdateInfos/DikeProfilesContextUpdateInfoTest.cs (.../DikeProfilesContextUpdateInfoTest.cs) (revision 886b86a66f072735567285a3489923186c236c32) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/UpdateInfos/DikeProfilesContextUpdateInfoTest.cs (.../DikeProfilesContextUpdateInfoTest.cs) (revision 2ce31f95c63ed49dff8df2d2fdc03960ed20c9df) @@ -182,7 +182,7 @@ plugin.Gui = gui; var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation()); + failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation(double.NaN)); var dikeProfiles = new DikeProfileCollection(); var context = new DikeProfilesContext(dikeProfiles, failureMechanism, assessmentSection); @@ -217,7 +217,7 @@ plugin.Gui = gui; var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation + failureMechanism.CalculationsGroup.Children.Add(new GrassCoverErosionInwardsCalculation(double.NaN) { Output = new TestGrassCoverErosionInwardsOutput() }); Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsInputViewInfoTest.cs =================================================================== diff -u -r2503894f449e6a2d24fe0cf15ff1d8a6cd831a3c -r2ce31f95c63ed49dff8df2d2fdc03960ed20c9df --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsInputViewInfoTest.cs (.../GrassCoverErosionInwardsInputViewInfoTest.cs) (revision 2503894f449e6a2d24fe0cf15ff1d8a6cd831a3c) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsInputViewInfoTest.cs (.../GrassCoverErosionInwardsInputViewInfoTest.cs) (revision 2ce31f95c63ed49dff8df2d2fdc03960ed20c9df) @@ -80,8 +80,8 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var input = new GrassCoverErosionInwardsInput(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var input = new GrassCoverErosionInwardsInput(double.NaN); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var context = new GrassCoverErosionInwardsInputContext(input, calculation, new GrassCoverErosionInwardsFailureMechanism(), @@ -101,7 +101,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculationScenario(); + var calculation = new GrassCoverErosionInwardsCalculationScenario(double.NaN); var calculationContext = new GrassCoverErosionInwardsCalculationScenarioContext(calculation, new CalculationGroup(), new GrassCoverErosionInwardsFailureMechanism(), @@ -128,8 +128,8 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculationScenario(); - var calculationToRemove = new GrassCoverErosionInwardsCalculationScenario(); + var calculation = new GrassCoverErosionInwardsCalculationScenario(double.NaN); + var calculationToRemove = new GrassCoverErosionInwardsCalculationScenario(double.NaN); var calculationContext = new GrassCoverErosionInwardsCalculationScenarioContext(calculationToRemove, new CalculationGroup(), @@ -157,7 +157,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -186,7 +186,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -215,7 +215,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); var nestedGroup = new CalculationGroup(); nestedGroup.Children.Add(calculation); @@ -246,7 +246,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); var nestedGroup = new CalculationGroup(); nestedGroup.Children.Add(calculation); @@ -277,7 +277,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(calculation); @@ -304,7 +304,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(calculation); @@ -331,7 +331,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -361,7 +361,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -388,7 +388,7 @@ public void CloseForData_ViewCorrespondingToRemovedAssessmentSection_ReturnsTrue() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(calculation); @@ -418,7 +418,7 @@ public void CloseForData_ViewNotCorrespondingToRemovedAssessmentSection_ReturnsFalse() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); failureMechanism.CalculationsGroup.Children.Add(calculation); @@ -432,7 +432,7 @@ using (var view = new GrassCoverErosionInwardsInputView { - Data = new GrassCoverErosionInwardsCalculation() + Data = new GrassCoverErosionInwardsCalculation(double.NaN) }) { // Call @@ -448,7 +448,7 @@ public void CloseForData_NestedViewCorrespondingToRemovedAssessmentSection_ReturnsTrue() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -481,7 +481,7 @@ public void CloseForData_NestedViewNotCorrespondingToRemovedAssessmentSection_ReturnsFalse() { // Setup - var calculation = new GrassCoverErosionInwardsCalculation(); + var calculation = new GrassCoverErosionInwardsCalculation(double.NaN); var calculationGroup = new CalculationGroup(); calculationGroup.Children.Add(calculation); @@ -498,7 +498,7 @@ using (var view = new GrassCoverErosionInwardsInputView { - Data = new GrassCoverErosionInwardsCalculation() + Data = new GrassCoverErosionInwardsCalculation(double.NaN) }) { // Call