blob: 36f371ddd7cd9bec6457dd710e50b5776bb5c573 [file] [log] [blame]
#include <catch.hpp>
#include <rive/node.hpp>
TEST_CASE("Node instances", "[core]") { REQUIRE(rive::Node().x() == 0.0f); }
TEST_CASE("nodeX function return x value", "[node]") {
rive::Node* node = new rive::Node();
REQUIRE(node->x() == 0.0f);
node->x(2.0f);
REQUIRE(node->x() == 2.0f);
delete node;
}