123456 |
- Describe(product_of_all_odds)
- {
- It(test1){Assert::That(oddProduct({3, 4, 1, 1, 5}), Equals(15));}
- It(test2){Assert::That(oddProduct({5, 5, 8, 2, 4, 32}), Equals(25));}
- It(test3){Assert::That(oddProduct({1, 2, 1, 2, 1, 2, 1, 2}), Equals(1));}
- };
|