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

Function test4

test/test_rank_matrix.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void test4(){
35 matrix A(3);
36 A[0] = {1, 1, 1};
37 A[1] = {1, 1, 1};
38 A[2] = {1, 1, 1};
39 assert(compute_rank(A) == 1);
40}
41
42void test5(){
43 matrix A(2);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected