Line data Source code
1 : #include <gtest/gtest.h> 2 : #include "impl/impl.hpp" 3 : 4 4 : TEST(geo, create_rect) { 5 1 : const auto drawable = compile::geo::CreateRectangleAsDrawable(100, 100); 6 2 : GTEST_ASSERT_EQ("shape = {Rectangle: width = 100, height = 100}, area = 10000", 7 1 : compile::geo::PrintDrawableToString(drawable)); 8 1 : }