separate Windows regression for Shonan Averaging
parent
cb2be68d05
commit
556ed9bfcc
|
|
@ -206,7 +206,7 @@ TEST(ShonanAveraging3, CheckWithEigen) {
|
|||
EXPECT_LONGS_EQUAL(5, initialQ4.size());
|
||||
|
||||
Matrix expected(4, 4);
|
||||
#if __APPLE__ || _WIN32
|
||||
#if __APPLE__
|
||||
expected << 0.145767, -0.938445, 0.135713, -0.282233, //
|
||||
0.780348, -0.0104323, 0.266238, 0.565743, //
|
||||
-0.383624, 0.0434887, 0.917211, 0.0983088, //
|
||||
|
|
@ -216,6 +216,11 @@ TEST(ShonanAveraging3, CheckWithEigen) {
|
|||
0.571527, 0.0292782, 0.226546, -0.788147, //
|
||||
-0.349294, 0.064102, 0.93465, 0.0177471, //
|
||||
0.735667, 0.142857, 0.253519, 0.611649;
|
||||
#elif _WIN32
|
||||
expected << 0.0825862, -0.645931, 0.271896, 0.708537, //
|
||||
0.927285, -0.0156335, 0.291603, -0.234236, //
|
||||
-0.36419, -0.132115, 0.831933, -0.39724, //
|
||||
0.0262425, 0.751715, 0.385912, 0.534143;
|
||||
#endif
|
||||
|
||||
EXPECT(assert_equal(SOn(expected), initialQ4.at<SOn>(0), 1e-5));
|
||||
|
|
|
|||
Loading…
Reference in New Issue