blob: 0fecbad7a1a5e4cfd7ba82b5e953d70a22520bf3 [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;
}