public void ensureInstancesAreEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(1.0, 10.0, 1.0);
            ContinuousDimensionInterval other    = new ContinuousDimensionInterval(1.0, 10.0, 1.0);

            Assert.True(instance.Equals(other));
        }
        public void ensureInstancesWithDifferentIncrementsAreNotEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(1.0, 5.0, 1.0);
            ContinuousDimensionInterval other    = new ContinuousDimensionInterval(1.0, 5.0, 0.1);

            Assert.False(instance.Equals(other));
        }
        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 ensureSameInstanceIsEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(1.0, 10.0, 1.0);

            Assert.True(instance.Equals(instance));
        }
        public void ensureInstanceAndNullAreNotEqual()
        {
            ContinuousDimensionInterval instance = new ContinuousDimensionInterval(100.0, 150.0, 0.5);

            Assert.False(instance.Equals(null));
        }