assert a correct number of errors and failures
This commit is contained in:
parent
0adabc84fa
commit
5310bba7fc
1 changed files with 1 additions and 0 deletions
1
test.cpp
1
test.cpp
|
|
@ -197,6 +197,7 @@ void test( unsigned int M, unsigned int N, unsigned int F, unsigned int R, unsig
|
|||
if( errors[a].size() == 0 ) {
|
||||
std::cout << "NAN";
|
||||
} else {
|
||||
assert( errors[a].size() == R - fails[a] );
|
||||
std::cout << sum(errors[a])/R;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue