public void ContainsValue()
        {
            var intervalDictionary = new IntervalDictionary <int, string>
            {
                { new Interval <int>(5, 10), "5 - 10" },
                { new Interval <int>(15, 20), "15 - 20" },
                { new Interval <int>(25, 25), "25 - 25" }
            };

            Assert.IsTrue(intervalDictionary.ContainsValue("5 - 10"));
            Assert.IsFalse(intervalDictionary.ContainsValue("5 - 15"));
        }
        public void ContainsValueArgumentNullException()
        {
            var intervalDictionary = new IntervalDictionary <int, string>
            {
                { new Interval <int>(5, 10), "5 - 10" },
                { new Interval <int>(15, 20), "15 - 20" },
                { new Interval <int>(25, 25), "25 - 25" }
            };

            intervalDictionary.ContainsValue(null);
        }
        public void ContainsValueArgumentNullException()
        {
            var intervalDictionary = new IntervalDictionary<int, string>
                                         {
                                             { new Interval<int>(5, 10), "5 - 10" },
                                             { new Interval<int>(15, 20), "15 - 20" },
                                             { new Interval<int>(25, 25), "25 - 25" }
                                         };

            intervalDictionary.ContainsValue(null);
        }
        public void ContainsValue()
        {
            var intervalDictionary = new IntervalDictionary<int, string>
                                         {
                                             { new Interval<int>(5, 10), "5 - 10" },
                                             { new Interval<int>(15, 20), "15 - 20" },
                                             { new Interval<int>(25, 25), "25 - 25" }
                                         };

            Assert.IsTrue(intervalDictionary.ContainsValue("5 - 10"));
            Assert.IsFalse(intervalDictionary.ContainsValue("5 - 15"));
        }