Skip to content

Commit

Permalink
Keyframe: Remove Coordinate ctor unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jan 29, 2021
1 parent 0fe84d3 commit 3ac7eb8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/KeyFrame_Tests.cpp
Expand Up @@ -510,18 +510,4 @@ TEST(Point_Vector_Constructor)
CHECK_CLOSE(30.0f, k1.GetValue(10), 0.0001);
}

TEST(Coordinate_Vector_Constructor)
{
std::vector<Coordinate> coordinates{
Coordinate(1, 100), Coordinate(10, 500), Coordinate(1000, 80000)
};
Keyframe k1(coordinates);

CHECK_EQUAL(1001, k1.GetLength());

auto p1 = k1.GetPoint(2);
CHECK_CLOSE(80000.0f, p1.co.Y, 0.00001);
}


}; // SUITE

0 comments on commit 3ac7eb8

Please sign in to comment.