Skip to content

Commit

Permalink
🚨 Fix tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jun 5, 2023
1 parent 58015a6 commit 63c1713
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ auto main(int argc, char* argv[]) -> int
}
ImGG::random_mode_widget("Randomize new marks' color", &settings.should_use_a_random_color_for_the_new_marks);

if (ImGui::Button("Spread Marks Evenly"))
gradient.gradient().spread_marks_evenly();
if (ImGui::Button("Equalize"))
gradient.gradient().distribute_marks_evenly();

ImGui::End();
ImGui::Begin("imgui_gradient tests");
Expand Down Expand Up @@ -339,4 +339,4 @@ TEST_CASE("Wrap modes")

CHECK(doctest::Approx(modulo_res) == 1.f);
}
}
}

0 comments on commit 63c1713

Please sign in to comment.