stuff-from-scratch/test/geometry/TestPath.cpp

13 lines
303 B
C++
Raw Normal View History

2023-01-19 14:25:58 +00:00
#include "TestFramework.h"
#include "TestUtils.h"
#include "Path.h"
2023-01-30 14:53:49 +00:00
#include "PostscriptReader.h"
2023-01-19 14:25:58 +00:00
TEST_CASE(TestPath, "geometry")
{
GeometryPath path;
2023-01-30 14:53:49 +00:00
PostscriptReader reader;
reader.read(&path, "M11 39h7.5V26.5h11V39H37V19.5L24 9.75 11 19.5Zm-3 3V18L24 6l16 12v24H26.5V29.5h-5V42Zm16-17.65Z");
2023-01-19 14:25:58 +00:00
};