Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::svg::ImageComparisonTestcase Struct Reference

Represents a single test case for image comparison. More...

#include "donner/svg/renderer/tests/ImageComparisonTestFixture.h"

Collaboration diagram for donner::svg::ImageComparisonTestcase:
[legend]

Public Attributes

std::filesystem::path svgFilename
 Path to the SVG file for this test case.
 
ImageComparisonParams params
 Parameters for this specific test case.
 

Friends

bool operator< (const ImageComparisonTestcase &lhs, const ImageComparisonTestcase &rhs)
 Comparison operator for sorting test cases by filename.
 
std::ostream & operator<< (std::ostream &os, const ImageComparisonTestcase &rhs)
 Stream insertion operator for printing the test case (prints the SVG filename).
 

Detailed Description

Represents a single test case for image comparison.

Contains the path to the SVG file to be tested and the parameters for the comparison.


The documentation for this struct was generated from the following file: