MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / assert_deep_equal

Function assert_deep_equal

code/mathematics/prime_sieve.test.cpp:1–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1void assert_deep_equal(vector<int> expected, vector<int> actual) {
2 assert_equal(size(expected), size(actual));
3 for (int i = 0; i < size(expected); i++) {
4 assert_equal(expected[i], actual[i]);
5 }
6}
7
8void test() {
9 vector<int> res, empty;

Callers 1

testFunction · 0.70

Calls 1

assert_equalFunction · 0.50

Tested by

no test coverage detected