Deltares.DamEngine.TestHelpers

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added (failing and ignored) test for combining a soilProfile2D with a surfaceline cutting the top boundary of the soilProfile2D

Related to Issue [MWDAM-2132]

    • -0
    • +27
    ./Factories/FactoryForSurfaceLines.cs
  1. … 1 more file in changeset.
Added (failing and ignored) test for combining a soilProfile2D with a surfaceline fully below the top boundary of the soilProfile2D

Related to Issue [MWDAM-2132]

    • -0
    • +27
    ./Factories/FactoryForSurfaceLines.cs
  1. … 1 more file in changeset.
Added (failing and ignored) test for combining a soilProfile2D with a surfaceline fully above the top boundary of the soilProfile2D

Related to Issue [MWDAM-2132]

    • -3
    • +28
    ./Factories/FactoryForSurfaceLines.cs
  1. … 1 more file in changeset.
Use dedicated surfaceline for MacroStabilityCommon/MacroStabilityCommonHelperTests

Related to Issue [MWDAM-2132]

    • -0
    • +34
    ./Factories/FactoryForSurfaceLines.cs
  1. … 1 more file in changeset.
Fix unit tests

Related to Issue [MWDAM-2132]

Added test MacroStabilityCommonHelperTests.GivenSoilGeometryProbabilityWithSoilProfile1DAndSurfaceLineWhenCombiningThenSoilProfile2DIsCreated()

Made most MacroStabilityCommonHelper methods static

Related to Issue [MWDAM-2132]

    • -0
    • +44
    ./Factories/FactoryForSoilGeometryProbabilities.cs
  1. … 4 more files in changeset.
Added failing tests for CombineSurfaceLineWithSoilProfile2D

Related to Issue [MWDAM-2132]

  1. … 2 more files in changeset.
- Added DeleteLooseCurves

- Improved some method names

Related to Issue [MWDAM-2132]

  1. … 5 more files in changeset.
Improved unit tests

Improved moving limits

Related to Issue [MWDAM-2132]

  1. … 3 more files in changeset.
Implement file export methods for geometry (.json and .txt) for debugging purposes

Related to Issue [MWDAM-2198]

    • -0
    • +66
    ./Geometry/PersistableGeometry.cs
    • -0
    • +107
    ./Geometry/GeometryExporter.cs
    • -0
    • +68
    ./Geometry/GeometryExporterHelper.cs
Implement helper method ExtendGeometryLeft

Related to Issue [MWDAM-2132]

    • -1
    • +42
    ./Factories/FactoryForSoilProfiles.cs
  1. … 8 more files in changeset.
Fixed most warning by removing redundant references from csproj

Related to Issue [MWDAM-2170]

    • -6
    • +0
    ./Deltares.DamEngine.TestHelpers.csproj
  1. … 10 more files in changeset.
Check if surface-line does not exceed the boundaries of the SoilProfile2D

Related to Issue [MWDAM-2132]

    • -0
    • +78
    ./Factories/FactoryForSoilProfiles.cs
  1. … 5 more files in changeset.
POP property added in the DAM Engine input and transferred to Macrostability as FixedSoilStresses

Related to Issue [MWDAM-2095]

    • -5
    • +1
    ./Factories/FactoryForDamProjectData.cs
  1. … 7 more files in changeset.
Update to NUnit 4

Related to Issue [MWDAM-2017]

  1. … 34 more files in changeset.
Fix failing unit test

Related to Issue [MWDAM-1996]

  1. … 2 more files in changeset.
Added read/write of sigma-tau curve

Related to Issue [MWDAM-1996]

    • -5
    • +24
    ./Factories/FactoryForDamProjectData.cs
  1. … 6 more files in changeset.
Reformat and cleanup (copyright to 2024)

Related to Issue [MWDAM-2007]

    • -2
    • +2
    ./Factories/FactoryForDamProjectData.cs
  1. … 323 more files in changeset.
Check on relevancy of use of option AdaptGeometry re-implemented.

Code refactored.

Related to Issue [MWDAM-1651]

Check temporary removed

Related to Issue [MWDAM-1651]

Test added to check the consistency of the AdaptGeometry results

Related to Issue [MWDAM-1651]

  1. … 2 more files in changeset.
Failing tests due to STI files set to work in progress

Related to Issue [MWDAM-1651]

  1. … 1 more file in changeset.
New generic method for running integration tests used in WtiPipingSellmeijerRevisedTests.cs

Related to Issue [MWDAM-1651]

  1. … 1 more file in changeset.
Expected result of TestRunFailedExpectCalculationMessageInOptimizedSlopeAndShoulderAdaption modified by the original message (when STI files could still be used)

Related to Issue [MWDAM-1651]

  1. … 1 more file in changeset.
Validation of the input performed for all integration tests.

Method for running integration tests is made generic.

Missing categories added.

Related to Issue [MWDAM-1651]

  1. … 10 more files in changeset.
Made sure that during one calculation (per location per subsoil per scenario) only the CurrentScenario is used. For Design, all scenarios but the Current are removed at the start of the calculation. For Operational, there only ever is one scenario (as this is a demand which is tested). Replaced use of Scenarios[0] with CurrentScenario, removed Scenarios from Dike. Also removed the reference to Location in DesignScenario, added LocationName to DesignScenario.

Adapted all tests for this. I expect two failing (new) tests at the moment.

Related to Issue [MWDAM-1948]

    • -1
    • +2
    ./Factories/FactoryForDamProjectData.cs
  1. … 25 more files in changeset.
Reversed accidental full commit.

Related to Issue [MWDAM-1889]

    • -12
    • +8
    ./Deltares.DamEngine.TestHelpers.csproj
  1. … 26 more files in changeset.
Made sure that file is copied as it is supposed to be.

Related to Issue [MWDAM-1889]

    • -8
    • +12
    ./Deltares.DamEngine.TestHelpers.csproj
  1. … 26 more files in changeset.
Improved tests to check more; extended the error messages with stack trace information.

Added check on null in Routines2D to prevent errors.

Related to Issue [MWDAM-1889]

  1. … 5 more files in changeset.
Use string interpolation

Related to Issue [MWDAM-1878]

    • -10
    • +10
    ./Factories/FactoryForDamProjectData.cs
  1. … 29 more files in changeset.