1234567891011 |
- Describe(recursion_sum)
- {
- It(test1){Assert::That(sum(1), Equals(1));}
- It(test2){Assert::That(sum(5), Equals(15));}
- It(test3){Assert::That(sum(7), Equals(28));}
- It(test4){Assert::That(sum(10), Equals(55));}
- It(test5){Assert::That(sum(12), Equals(78));}
- It(test6){Assert::That(sum(15), Equals(120));}
- It(test7){Assert::That(sum(20), Equals(210));}
- It(test8){Assert::That(sum(100), Equals(5050));}
- };
|