Beispiel #1
0
 public void ChristmasTreeTest_0()
 {
     Assert.AreEqual("", ChristmasTreeGenerator.ChristmasTree(0));
 }
Beispiel #2
0
 public void ChristmasTreeTest_10()
 {
     Assert.AreEqual(
         "         *         \n        ***        \n       *****       \n      *******      \n     *********     \n    ***********    \n   *************   \n  ***************  \n ***************** \n*******************",
         ChristmasTreeGenerator.ChristmasTree(10));
 }
Beispiel #3
0
 public void ChristmasTreeTest_1()
 {
     Assert.AreEqual("*", ChristmasTreeGenerator.ChristmasTree(1));
 }