public void DivisibilityByThirteen_Thirt_Result()
        {
            var thirteen = new Thirteen();

            Assert.AreEqual(87, thirteen.Thirt(1234567));
            Assert.AreEqual(48, thirteen.Thirt(48));
        }
Exemplo n.º 2
0
        public void Thirteen()
        {
            var problem = new Thirteen();
            var result  = (double)problem.Solve();

            result.Should().Be(5537376230);
        }
Exemplo n.º 3
0
 public static void test1()
 {
     Console.WriteLine("Testing Thirt");
     testing(Thirteen.Thirt(8529), 79);
     testing(Thirteen.Thirt(85299258), 31);
     testing(Thirteen.Thirt(5634), 57);
     testing(Thirteen.Thirt(1111111111), 71);
     testing(Thirteen.Thirt(987654321), 30);
 }