MCPcopy Create free account
hub / github.com/cp-algorithms/cp-algorithms / test2

Function test2

test/test_rank_matrix.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void test2(){
19 matrix A(3);
20 A[0] = {1, 1, 1};
21 A[1] = {0, 1, 1};
22 A[2] = {0, 0, 1};
23 assert(compute_rank(A) == 3);
24}
25
26void test3(){
27 matrix A(3);

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected