123456789 |
- Describe(includes_element_tests)
- {
- It(test1){Assert::That(check({1, 2, 3, 4, 5}, 3), Equals(true));}
- It(test2){Assert::That(check({1, 1, 2, 1, 1}, 3), Equals(false));}
- It(test3){Assert::That(check({1, 1, 2, 1, 5, 4, 7}, 7), Equals(true));}
- It(test4){Assert::That(check({1, 1, 2, 1, 5, 4, 7}, 8), Equals(false));}
- It(test5){Assert::That(check({5, 5, 5, 6}, 5), Equals(true));}
- It(test6){Assert::That(check({}, 5), Equals(false));}
- };
|