Skip to content

Commit

Permalink
Color_Tests: Remove commented code, be const
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Nov 4, 2020
1 parent 4d2bbe4 commit 6b4ed3a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Color_Tests.cpp
Expand Up @@ -52,9 +52,6 @@ TEST(Keyframe_constructor)
for (auto& kf : kfs) {
kf.AddPoint(100, ++i * 20);
}
// for (auto kf : kfs) {
// kf.PrintPoints();
// }
auto c = openshot::Color(kfs[0], kfs[1], kfs[2], kfs[3]);

CHECK_CLOSE(20, c.red.GetLong(100), 0.01);
Expand Down Expand Up @@ -163,7 +160,7 @@ TEST(Json)
}

TEST(SetJson) {
std::string json_input = R"json(
const std::string json_input = R"json(
{
"red": { "Points": [ { "co": { "X": 1.0, "Y": 0.0 }, "interpolation": 0 } ] },
"green": { "Points": [ { "co": { "X": 1.0, "Y": 128.0 }, "interpolation": 0 } ] },
Expand Down

0 comments on commit 6b4ed3a

Please sign in to comment.