public void ShouldFindStrongestOdd_6()
        {
            var value  = 2048 * 7 * 7;
            var result = StrongestOdd.FindStrongestOdd(value - 3, value + 3);

            Assert.AreEqual(value, result);
        }
 public void MinIntervalShouldNotBeNegative()
 {
     Assert.Throws <ArgumentException>(() => StrongestOdd.FindStrongestOdd(-7, 5));
 }
        public void ShouldFindStrongestOdd_3()
        {
            var result = StrongestOdd.FindStrongestOdd(3, 10);

            Assert.AreEqual(8, result);
        }
        public void ShouldFindStrongestOdd_4()
        {
            var result = StrongestOdd.FindStrongestOdd(9, 13);

            Assert.AreEqual(12, result);
        }
        public void ShouldFindStrongestOdd_2()
        {
            var result = StrongestOdd.FindStrongestOdd(0, 3);

            Assert.AreEqual(2, result);
        }
        public void ShouldWokWhenIntervalIsASingleton_3()
        {
            var result = StrongestOdd.FindStrongestOdd(1, 1);

            Assert.AreEqual(1, result);
        }
 public void MinValueShouldnotBeGreaterThanmaxValue()
 {
     Assert.Throws <ArgumentException>(() => StrongestOdd.FindStrongestOdd(7, 1));
 }
        public void ShouldHandleMaxValue()
        {
            var result = StrongestOdd.FindStrongestOdd(int.MaxValue - 4, int.MaxValue);

            Assert.AreEqual(int.MaxValue - 3, result);
        }
        public void ShouldFindStrongestOdd_8()
        {
            var result = StrongestOdd.FindStrongestOdd(0, 1027);

            Assert.AreEqual(1024, result);
        }