Skip to content

Commit 1399fd2

Browse files
authored
Update RotationSpline_TEST.cc
Correctly changed the checks where Slerp is now called Signed-off-by: Sammit Dhar <sammit.dhar.2004@gmail.com>
1 parent cc558a5 commit 1399fd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/RotationSpline_TEST.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ TEST(RotationSplineTest, RotationSpline)
5252

5353
// ::Interpolate
5454
EXPECT_TRUE(s.Interpolate(0.5) ==
55-
math::Quaterniond(0.998089, 0.0315333, 0.0427683, 0.0315333));
55+
math::Quaterniond(0.999181, 0.0184352, 0.030948, 0.0184352));
5656

5757
// ::Interpolate
5858
s.AddPoint(math::Quaterniond(.4, .4, .4));
@@ -62,7 +62,7 @@ TEST(RotationSplineTest, RotationSpline)
6262
EXPECT_EQ(s.Interpolate(s.PointCount()-1, 0.2),
6363
s.Point(s.PointCount()-1));
6464
EXPECT_TRUE(s.Interpolate(1, 0.2) ==
65-
math::Quaterniond(0.978787, 0.107618, 0.137159, 0.107618));
65+
math::Quaterniond(0.980579, 0.101786, 0.133208, 0.101786));
6666
EXPECT_EQ(s.Interpolate(1, 0.0), s.Point(1));
6767
EXPECT_EQ(s.Interpolate(1, 1.0), s.Point(2));
6868

0 commit comments

Comments
 (0)