public void ensureInstancesWithDifferentMinAndMaxValuesAreNotEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(1.0, 5.0, 0.1);
            ContinuousDimensionInterval other    = new ContinuousDimensionInterval(2.0, 4.0, 0.1);

            Assert.False(instance.Equals(other));
        }
        public void ensureInstancesOfDifferentTypesAreNotEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(5.0, 20.0, 1.0);
            string other = "bananas";

            Assert.False(instance.Equals(other));
        }
        public void ensureGetValuesAsArrayWorks()
        {
            double minValue = 100.0;
            double maxValue = 110.0;
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(minValue, maxValue, 1);

            double[] expectedValues = { 100.0, 101.0, 102.0, 103.0, 104.0, 105.0, 106.0, 107.0, 108.0, 109.0, 110.0 };
            Assert.Equal(expectedValues, instance.getValuesAsArray());
        }
        public void ensureContinuousDimensionIntervalGetMinValueIsTheSameAsMinValue()
        {
            double minValue = 100.0;
            double maxValue = 200.0;
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(minValue, maxValue, 0.1);

            double obtainedMinValue = instance.getMinValue();

            Assert.Equal(minValue, obtainedMinValue, 1);
        }