RoundedDoubleTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed Core tests.

  1. … 603 more files in changeset.
Adapted copyright year. WTI-2195

  1. … 431 more files in changeset.
Updated license headers in source files of test\Core.Common. WTI-1931

  1. … 241 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Remove RoundedDouble ToString testcases that test the location of a % sign, which varies heavily based on system and is .NET framework behaviour. WTI-1614

Updated license headers in core. Related to Issue [WTI-1242]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9490 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

  1. … 817 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9448 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

  1. … 283 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9369 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

  1. … 290 more files in changeset.
Added operator overloads for RoundedDouble (as discussed in Tech meeting) paired with tang_ds

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@7752 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e2187faa4083564b7a6cae6b9263f57b2ca1304d

Former-commit-id: 0b736ad40e3fd146360771b0d8c692d684fca45d

  1. … 1 more file in changeset.
* Made variable explicit. * Extracted result of method call for reuse. Related to Issue [WTI-989]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6918 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: efc628f5146da16db8f3d1f1bed0f1ad458ec42d

Former-commit-id: a02d349e3fd774ecf37675c4e6083b8802e5c12c

  1. … 1 more file in changeset.
Incorporated comments review 1223: - Implemented IComparable in the RoundedDouble - Added null-check in the HydraulicBoundaryLocationEditor, because the GetPropertiesObject(context) can be null.

Related to Issue [WTI-989]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6879 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: dc360d26af8ec209a0b13225ace1db5328197df8

Former-commit-id: 58cbfed5222b113a4bb1b48c9c86b4d6bc8a9ad1

  1. … 3 more files in changeset.
* Create and Read extension methods for StabilityPointStructure instances. * Introduced RoundedDouble.NaN constant (removes the proliferation of casting from double.NaN to RoundedDouble) Related to Issue [WTI-911]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@6162 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e0faff5c1252f482de48e7849a8d4ae3f6bf1d5c

Former-commit-id: 2f2757c0a49641b703a66ca60d5ab0e28b7e7098

  1. … 71 more files in changeset.
Merged revision(s) 5006-5019 from branches/Release/16_1_1: Resharper cleanup Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

constants now are at the beginning of test files.

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Resharper cleanup

Related to Issue WTI 739

........

Cleanup project references.

Related to Issue WTI 737

........

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@5024 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 21f2b2d3f74765437bc2f5ac6001d62a6c3afd98

Former-commit-id: 79979c7e6cb96a998c3b1a0d4fc4d9bd4bf10566

  1. … 219 more files in changeset.
Removing obsolete code. Related to Issue [WTI-737]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4678 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 403a27792b79297f4e53030ad897aebce380129c

Former-commit-id: de6622b07b30c36a620b83f1e8efff118dfb0790

  1. … 111 more files in changeset.
* Improved readability of tests * Turned String into string Related to Issue [WTI-757]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4612 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 701ea98de739f0f328ead01558e5e443c904e706

Former-commit-id: cdb77cc67acfc2869c510cc8a1f32c0201a5f40e

  1. … 141 more files in changeset.
Added license files to all projects except: Ringtoets.Application.SetUp Core.Common.Version Demo.Ringtoets Demo.Ringtoets.Test

Generated license files in projects.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4003 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3acc9d7e6e84815f3fe9024f391e86456c362dc5

Former-commit-id: e0d4c1e5eded874de9d9391f8fe6af15b7369319

  1. … 212 more files in changeset.
Implement IFormattable for RoundedDouble so that it is possible to give a custom format and culture to a RoundedDouble while still be able to use to default formatting of some double values (Infinity) Related to Issue [WTI-453]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2886 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9cc2d0b46172911ee58e34752148c9304990c744

Former-commit-id: a564205535ba65414e3fbd277564639ac86df114

  1. … 3 more files in changeset.
* RoundDouble '+' operator implemented. * DesignVariable now returns RoundDouble instead of Double, due to calculations being based on RoundedDouble instances. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2525 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ebb991100c2ad61931a80671532939993d1adf44

Former-commit-id: d3d42cf7f98460e2e03c3cf78edce1c08c8bd4fe

  1. … 13 more files in changeset.
* Extended RoundedDouble with '*' operator. * Fixed bug in unit test due to improper TestCaseAttribute. * IDistribution.StandardDeviation is now RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2516 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e344148bb68292ee95a3fb36dbed65377aee0c6e

Former-commit-id: b7786022de235725c43e1dc148d07a8a0bc48c6d

  1. … 16 more files in changeset.
* Moved RoundedDoubleConverter from Core.Common.Gui/Converters to Core.Common.Base/TypeConverters. * RoundedDouble has TypeConverter defined to prevent having to declare all properties in property-window with RoundedDoubleConverter. * Extended RoundedDouble with '-' operator. * Changes IDistribution.Mean from double to RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2515 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d60284fb16873fb41af391f13b7f212ba33eca1a

Former-commit-id: 4530c8e39bd952e5a7db8c0ab814d2b1ad9633a1

  1. … 37 more files in changeset.
* Turned RoundDouble into an immutable struct. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2507 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ee08130916be6acd461244c5ebfc792431d27d28

Former-commit-id: a236238ce915f60369e733b7031add89531747f7

  1. … 6 more files in changeset.
* Introduced TypeConverter to be used with RoundedDouble editable property control field. * RoundedDouble now has explicit cast from double to RoundedDouble. * Used Math.Round(double, int) API to prevent having to roundtrip to decimal. Also has more accurate 'number of decimals'. * RoundedDouble constructor refactorings. * PipingInput now has ExitPointL and EntryPointL as RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2504 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 526f9ff6b020e4718add2dba1aaae259930df73d

Former-commit-id: d1774deeae4f90d0df667370350841782cc5a005

  1. … 18 more files in changeset.
* AssessmentLevel properties cannot be set in PipingInputContextProperties. Need to set HydraulicBoundaryLocation to set AssessmentLevel. * Added additional constructor for RoundedDouble. * PipingInput.AssessmentLevel is now an instance of RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2494 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 26b52887003afb3aea8c36978883203165963733

Former-commit-id: 0eefd50ae8f3c8737345439577e2755ae5b41fc0

  1. … 13 more files in changeset.
* Extended RoundedDouble with IEquality<Double> and implicit conversion to Double. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2493 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 2ebb08c5170e08993edef266234eaedaefcce285

Former-commit-id: 24889e82959a7a51d8efca1b36e9b33cc02ccf09

  1. … 1 more file in changeset.
* Introduced RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2486 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b718b508b31e983fe86b263fa844634519906577

Former-commit-id: a58e88b87ed5e36e93f6f5035718c3f8497e3e4e

    • -0
    • +384
    ./RoundedDoubleTest.cs
  1. … 5 more files in changeset.