nr-rotate-test.h revision c0092c87b724182672defa4f5f75a82c27f017dc
#include <cxxtest/TestSuite.h>
#include <cmath>
#include <libnr/nr-matrix.h>
#include <libnr/nr-matrix-ops.h>
#include <libnr/nr-point-fns.h>
#include <libnr/nr-rotate.h>
#include <libnr/nr-rotate-fns.h>
#include <libnr/nr-rotate-ops.h>
{
NrRotateTest() :
r_id( 0.0 ),
rot234( .234 ),
b( -2.0, 3.0 ),
{
}
virtual ~NrRotateTest() {}
// createSuite and destroySuite get us per-suite setup and teardown
// without us having to worry about static initialization order, etc.
void testCtorsCompares(void)
{
}
void testAssignmentOp(void)
{
}
void testInverse(void)
{
}
void testOpStarPointRotate(void)
{
TS_ASSERT_EQUALS( b * r_id, b );
TS_ASSERT_EQUALS( b * rot180, -b );
1e-14));
}
void testOpStarRotateRotate(void)
{
1e-10) );
}
void testOpDivRotateRotate(void)
{
}
};
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :