Removed unsafe test
parent
0090e07df9
commit
686c920d9f
|
|
@ -42,7 +42,7 @@ static const Rot3 someR = Rot3::RzRyRx(1, 2, 3);
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
// Constant
|
// Constant
|
||||||
TEST(Expression, constant) {
|
TEST(Expression, Constant) {
|
||||||
Expression<Rot3> R(someR);
|
Expression<Rot3> R(someR);
|
||||||
Values values;
|
Values values;
|
||||||
Rot3 actual = R.value(values);
|
Rot3 actual = R.value(values);
|
||||||
|
|
@ -89,13 +89,11 @@ set<Key> expected = list_of(1);
|
||||||
TEST(Expression, Unary1) {
|
TEST(Expression, Unary1) {
|
||||||
using namespace unary;
|
using namespace unary;
|
||||||
Expression<Point2> e(f1, p);
|
Expression<Point2> e(f1, p);
|
||||||
EXPECT_LONGS_EQUAL(112,e.traceSize());
|
|
||||||
EXPECT(expected == e.keys());
|
EXPECT(expected == e.keys());
|
||||||
}
|
}
|
||||||
TEST(Expression, Unary2) {
|
TEST(Expression, Unary2) {
|
||||||
using namespace unary;
|
using namespace unary;
|
||||||
Expression<double> e(f2, p);
|
Expression<double> e(f2, p);
|
||||||
EXPECT_LONGS_EQUAL(80,e.traceSize());
|
|
||||||
EXPECT(expected == e.keys());
|
EXPECT(expected == e.keys());
|
||||||
}
|
}
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue