Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void EmptyTexture() {
- Canvas canvas({5, 3});
- canvas.AddShape(ShapeType::RECTANGLE, {1, 0}, {3, 3}, nullptr);
- std::stringstream output;
- canvas.Print(output);
- const auto answer =
- "#######\n"
- "# ... #\n"
- "# ... #\n"
- "# ... #\n"
- "#######\n";
- Assert(answer == output.str(), "Your Shape implementation must pass the TestSimple test");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement