Beispiel #1
0
    public void Test_total_grains()
    {
        System.Console.WriteLine(Grains.Square(1));
        System.Console.WriteLine(Grains.Square(2));
        System.Console.WriteLine(Grains.Square(3));

        System.Console.WriteLine(Grains.Square(4));
        System.Console.WriteLine(Grains.Square(5));
        Assert.That(Grains.Total(), Is.EqualTo(18446744073709551615));
    }
Beispiel #2
0
 public void Test_total_grains()
 {
     Assert.That(Grains.Total(), Is.EqualTo(18446744073709551615));
 }
Beispiel #3
0
 public void Returns_the_total_number_of_grains_on_the_board()
 {
     Assert.Equal(18446744073709551615UL, Grains.Total());
 }
Beispiel #4
0
 public void Test_total_grains()
 {
     Assert.Equal(18446744073709551615ul, Grains.Total());
 }
Beispiel #5
0
 static void Main(string[] args)
 {
     Console.WriteLine(Grains.Total());
 }