#include <iostream>
#include <numeric>
#include <utl/SparseMatrix.h>
#include <tst/Verify.h>
#include <cppunit/extensions/HelperMacros.h>
Go to the source code of this file.
Classes | |
class | TestSparseMatrix |
Macros | |
#define | ASSERT_CLOSE(x, y) CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
#define | ASSERT_CLOSE_EPS(x, y, eps) CPPUNIT_ASSERT(Verify<CloseTo>(x, y, eps)) |
#define | ASSERT_EQUAL(x, y) CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
#define | ASSERT_ITERATOR_EQUAL(it, e, r, c, v) |
#define | ASSERT_NOT_EQUAL(x, y) CPPUNIT_ASSERT(Verify<Not<Equal> >(x, y)) |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (TestSparseMatrix) | |
#define ASSERT_CLOSE | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<CloseTo>(x, y)) |
Definition at line 13 of file testSparseMatrix.cc.
Definition at line 14 of file testSparseMatrix.cc.
#define ASSERT_EQUAL | ( | x, | |
y | |||
) | CPPUNIT_ASSERT(Verify<Equal>(x, y)) |
Definition at line 15 of file testSparseMatrix.cc.
Referenced by TestSparseMatrix::TestAccess(), TestSparseMatrix::TestNonSquareMultiplication(), TestSparseMatrix::TestNonSquareMultiplication2(), and TestSparseMatrix::TestOperators().
#define ASSERT_ITERATOR_EQUAL | ( | it, | |
e, | |||
r, | |||
c, | |||
v | |||
) |
Definition at line 17 of file testSparseMatrix.cc.
Referenced by TestSparseMatrix::TestIterators().
Definition at line 16 of file testSparseMatrix.cc.
CPPUNIT_TEST_SUITE_REGISTRATION | ( | TestSparseMatrix | ) |