123456 |
- Describe(negate_vector)
- {
- It(test1){Assert::That(negate({1,2,3,4}),Equals(std::vector<int>({-1,-2,-3,-4})));}
- It(test2){Assert::That(negate({-1,-2,-3,-4}),Equals(std::vector<int>({1,2,3,4})));}
- It(test3){Assert::That(negate({}),Equals(std::vector<int>({})));}
- };
|