Deltares.DamEngine.Calculators.Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adapted Interface for PostProcess to be able to handle multiple results instead of just one. This is required for stability calculations as the model BishopUpliftVan requires two calculations and three results (1 per calculation, one overall result). Also added extra file name for the second model to be able to support two calculations.

Related to Issue [MWDAM-1057]

    • -27
    • +33
    ./KernelWrappers/DamPipingBligh/DamPipingBlighKernelWrapperTests.cs
  1. … 8 more files in changeset.
Added iterationIndex as parameter to Prepare() Interface in order to be able to set correct file names in case of design. Implemented setting correct name for sti-file to be used in the calculation by Stability Outwards.

Related to Issue [MWDAM-1057]

  1. … 8 more files in changeset.
Compare generated xml document with version that was created with Dam Classic

Related to Issue [MWDAM-1089]

Refactored test

Related to Issue [MWDAM-1089]

Moved test files for Stability to another location

Related to Issue [MWDAM-1089]

    • -0
    • +1666
    ./KernelWrappers/DamMacroStability/TestData/DWP_1.sti
    • -0
    • +81
    ./KernelWrappers/DamMacroStability/TestData/test.xml
    • -1417
    • +0
    ./Files/MacroStability/expectedTest.sti
    • -1666
    • +0
    ./Files/MacroStability/DWP_1.sti
Added SearchMethod and MinimalCircleDepth to Test input.

Modified XmlAttributeSoilGeometryType and created ConvertSoilProfileTypeToClassicType so the dll that creates the sti file understands the xml input.

Related to Issue [MWDAM-1089]

  1. … 1 more file in changeset.
Add AquiferDictionary to soil list in test

Related to Issue [MWDAM-1089]

Implemented FailureMechanismeParamatersMStab for Stability kernel wrappers.

Related to Issue [MWDAM-1057]

  1. … 5 more files in changeset.
Added SoilList to CreatePlLinesForStability.

Created new test input for TestCreateMStabXmlDoc.

Related to Issue [MWDAM-1089]

  1. … 1 more file in changeset.
Failing tests moved to WorkInprogress. TestThowsException tests fixed

Related to Issue [MWDAM-1055]

Failing tests moved to WorkInprogress. TestThowsException tests fixed

Related to Issue [MWDAM-1055]

  1. … 4 more files in changeset.
Started with implementation of Stability Outwards.

Related to Issue [MWDAM-1057]

  1. … 7 more files in changeset.
Removed obsolete mdb-file and its unused reference.

Related to Issue [MWDAM-1102]

    • -3
    • +0
    ./Deltares.DamEngine.Calculators.Tests.csproj
Removed obsolete mdb-file and its unused reference.

Related to Issue [MWDAM-1102]

First version of Sellmeijer VNK added to DamEngine

Related to Issue [MWDAM-1055]

    • -121
    • +122
    ./KernelWrappers/DamPipingSellmeijerVnk/DamPipingSellmeijerVnkKernelWrapperTests.cs
  1. … 5 more files in changeset.
Made sure of proper use of SoilProfileType.

Related to Issue [MWDAM-1102]

  1. … 7 more files in changeset.
Adapted to review

- Improved unit test

- Cleanup code

Related to Issue [MWDAM-1034]

  1. … 3 more files in changeset.
Fix failing tests (see review)

Related to Issue [MWDAM-1034]

  1. … 4 more files in changeset.
Fixed the issue and added tests. Had to move de DGSMStabDamdll.

Related to Issue [MWDAM-1102]

  1. ./KernelWrappers/DamMacroStability/TestData
    • -0
    • +181
    ./KernelWrappers/DamMacroStability/Geometry2DTo1DConverterTest.cs
    • -0
    • +3495
    ./KernelWrappers/DamMacroStability/TestData/18_4_94.sti
    • -0
    • +205
    ./KernelWrappers/DamMacroStability/DAMMstabGeometry2DSectionAssemblerTest.cs
    • -0
    • +70
    ./KernelWrappers/DamMacroStability/DamMStabGeometry2DDataAssemblerTest.cs
    • -1
    • +25
    ./Deltares.DamEngine.Calculators.Tests.csproj
    • -0
    • +1081
    ./KernelWrappers/DamMacroStability/TestData/1D1.sti
  2. … 13 more files in changeset.
In all tests use CreateClaySandProfileForPipingBligh from FactoryForSoilProfiles in TestHelpers.

Related to Issue [MWDAM-1117]

Moved code for creating surfacelines for testing to FactoryForSurfaceLines

Related to Issue [MWDAM-1117]

    • too large
    ./PlLinesCreator/PLLinesCreatorTest.cs
  1. … 1 more file in changeset.
In all tests use CreatePipingSellmeijerProfileWithTwoSandlayers from FactoryForSoilProfiles in TestHelpers.

Related to Issue [MWDAM-1117]

  1. … 1 more file in changeset.
In all tests use CreatePipingSellmeijerProfileWithOneSandlayer from FactoryForSoilProfiles in TestHelpers.

Related to Issue [MWDAM-1117]

    • -29
    • +1
    ./KernelWrappers/Common/PlLinesHelperTests.cs
In all tests use CreateSurfaceLineTutorial1 from FactoryForSurfaceLines in TestHelpers.

Related to Issue [MWDAM-1117]

    • -29
    • +2
    ./KernelWrappers/Common/PlLinesHelperTests.cs
Moved FactoryForSoilProfiles.cs and FactoryForSurfaceLines.cs from Calculators.Tests to TestHelpers.

Moved Physics.cs from Calculators/General to Data/General

Related to Issue [MWDAM-1117]

    • -2
    • +0
    ./Deltares.DamEngine.Calculators.Tests.csproj
    • -944
    • +0
    ./PlLinesCreator/FactoryForSoilProfiles.cs
    • too large
    ./PlLinesCreator/PLLinesCreatorTest.cs
    • -533
    • +0
    ./PlLinesCreator/FactoryForSurfaceLines.cs
  1. … 8 more files in changeset.
Moved Categories.cs from Deltares.DamEngine.Calculators.Tests to new project Deltares.DamEngine.TestHelpers because it is needed by Deltares.DamEngine.Interface.Tests as well.

Set CanPerformSellmeijer4ForcesDesignPipingVoorbeeld1 to WIP.

Added link to Copying.APGL.licenseheader in Deltares.DamEngine.Interface.Tests as well.

Related to Issue [MWDAM-1113]

    • -1
    • +4
    ./Deltares.DamEngine.Calculators.Tests.csproj
  1. … 9 more files in changeset.
Added output results to tests FullCalculation

Related to Issue [MWDAM-1116]

Added output results to tests PostProcess

Related to Issue [MWDAM-1116]

Added test project for Piping Sellmeijer VNK wrapper

Related to Issue [MWDAM-1113]

    • -0
    • +1
    ./Deltares.DamEngine.Calculators.Tests.csproj
    • -0
    • +367
    ./KernelWrappers/DamPipingSellmeijerVnk/DamPipingSellmeijerVnkKernelWrapperTests.cs
Created tests for Bligh wrapper. Some have to be fixed in wrapper, added test category WorkInProgress.

Related to Issue [MWDAM-1114]

    • -0
    • +2
    ./Deltares.DamEngine.Calculators.Tests.csproj
    • -0
    • +300
    ./KernelWrappers/DamPipingBligh/DamPipingBlighKernelWrapperTests.cs
  1. … 1 more file in changeset.