Index: src/Deltares.DSoilModel.Forms.Tests/CptLookup2DControlTests.cs =================================================================== diff -u -r363 -r379 --- src/Deltares.DSoilModel.Forms.Tests/CptLookup2DControlTests.cs (.../CptLookup2DControlTests.cs) (revision 363) +++ src/Deltares.DSoilModel.Forms.Tests/CptLookup2DControlTests.cs (.../CptLookup2DControlTests.cs) (revision 379) @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Deltares.Geotechnics; +using Deltares.Geotechnics; using Deltares.Geotechnics.ConePenetrationTest; using Deltares.Standard.Forms; using NUnit.Framework; @@ -30,12 +26,9 @@ }; PropertyControl.SelectedObject = lookup; - Assert.AreSame(lookup, PropertyControl.SelectedObject); - Assert.IsTrue(PropertyControl.IsVisible); - - TestSpinEditVisibleEnabledValue(PropertyControl, "XEdit", true, true, lookup, x => x.Xlocal, 1.0); + TestSpinEditVisibleEnabledValue(PropertyControl, "XEdit", true, true, lookup, x => x.Xlocal, 5.0); TestLabelControlVisibleValue(PropertyControl, "XLabel", true, "Lokale x [-]"); - TestSpinEditVisibleEnabledValue(PropertyControl, "ZEdit", true, false, lookup, x => x.Zlocal, 2.0); + TestSpinEditVisibleEnabledValue(PropertyControl, "ZEdit", true, false, lookup, x => x.Zlocal, 6.0); TestLabelControlVisibleValue(PropertyControl, "ZLabel", true, "Lokale z [-]"); TestTextEditVisibleEnabledValue(PropertyControl, "CPTNameTextEdit", true, false, lookup, x => x.CPTName, "Cpt 1"); TestLabelControlVisibleValue(PropertyControl, "CPTNameLabelControl", true, "Naam sondering [-]");