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

Function test1

test/test_gauss.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9typedef vector<dbl> vec;
10
11void test1(){
12 //x + y = 0
13 matrix A = {{1, 1}};
14 vec b = {0};
15 vec ans(2);
16 A[0].push_back(b[0]);
17 assert(gauss(A, ans) == INF);
18}
19
20void test2(){
21 //x + y = 0

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected