Skip to content

Add svg backend tests #68

@fcooper8472

Description

@fcooper8472

We ought to unit test the svg backend methods. Simple things will be very straightforward, like

  SECTION("finalise produces correct string") {
    backend.finalise();
    CHECK(out.str() == "</svg>\n");
  }

For functions taking arguments, such as circle, we can check that specific parameter values end up as expected in the resulting string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions