Exemple #1
0
        public void ClassicTest1000000()
        {
            var result = ProjectEulerLibrary.ClassicMultiplesOf3And5(1000000);

            Assert.AreEqual(233333166668, result);
        }
Exemple #2
0
        public void ClassicTestExampleMinus1()
        {
            var result = ProjectEulerLibrary.ClassicMultiplesOf3And5(-1);

            Assert.AreEqual(0, result);
        }
Exemple #3
0
        public void ClassicTestExampleFromPage()
        {
            var result = ProjectEulerLibrary.ClassicMultiplesOf3And5(10);

            Assert.AreEqual(23, result);
        }