Beispiel #1
0
 public void SampleTest()
 {
     Assert.Equal("1 -> 2 -> 3 -> null", Kata.Stringify(new Node(1, new Node(2, new Node(3)))));
     Assert.Equal("0 -> 1 -> 4 -> 9 -> 16 -> null", Kata.Stringify(new Node(0, new Node(1, new Node(4, new Node(9, new Node(16)))))));
     Assert.Equal("null", Kata.Stringify(null));
 }