hyprtester/src/tests/main/animations.cpp
raw| 1 | #include "../../hyprctlCompat.hpp" |
| 2 | #include "../../Log.hpp" |
| 3 | #include "../../shared.hpp" |
| 4 | #include "tests.hpp" |
| 5 | |
| 6 | using namespace Hyprutils::OS; |
| 7 | using namespace Hyprutils::Memory; |
| 8 | |
| 9 | TEST_CASE(animationsTrivial) { |
| 10 | auto str = getFromSocket("/animations"); |
| 11 | NLog::yellow("Testing bezier curve output from `hyprctl animations`"); |
| 12 | ASSERT_CONTAINS(str, std::format("beziers:\n\n\tname: quick\n\t\tX0: 0.15\n\t\tY0: 0.00\n\t\tX1: 0.10\n\t\tY1: 1.00")); |
| 13 | } |