test: move maths-matrix test to maths dir
This commit is contained in:
parent
39617fb471
commit
c086e2c9d7
2
test/.gitignore
vendored
2
test/.gitignore
vendored
@ -9,7 +9,7 @@
|
||||
/json/types
|
||||
/*.log
|
||||
/maths/maths
|
||||
/matrix
|
||||
/maths/matrix
|
||||
/md[245]
|
||||
/options
|
||||
/point
|
||||
|
@ -10,7 +10,7 @@ TEST_BIN = \
|
||||
ip \
|
||||
json/types \
|
||||
maths/maths \
|
||||
matrix \
|
||||
maths/matrix \
|
||||
md2 \
|
||||
md4 \
|
||||
md5 \
|
||||
|
@ -26,12 +26,12 @@ operator <<(std::ostream &os, const matrix &m) {
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
void
|
||||
test_zeroes (const matrix &m) {
|
||||
assert (m.rows ());
|
||||
assert (m.columns ());
|
||||
|
||||
for (unsigned int i = 0; i < m.rows (); ++i)
|
||||
for (unsigned int i = 0; i < m.rows (); ++i)
|
||||
for (unsigned int j = 0; j < m.columns (); ++j)
|
||||
CHECK_HARD (almost_equal (m[i][j], 0.0));
|
||||
}
|
Loading…
Reference in New Issue
Block a user