yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::ComparisonResult Struct Reference

Result of a screenshot comparison. More...

#include <screenshot_assertion.h>

Public Attributes

bool passed = false
 
float similarity = 0.0f
 
float difference_percentage = 0.0f
 
int total_pixels = 0
 
int differing_pixels = 0
 
std::string diff_image_path
 
std::vector< ScreenRegiondiffering_regions
 
std::chrono::milliseconds comparison_time {0}
 
std::string error_message
 

Detailed Description

Result of a screenshot comparison.

Definition at line 34 of file screenshot_assertion.h.

Member Data Documentation

◆ passed

bool yaze::test::ComparisonResult::passed = false

Definition at line 35 of file screenshot_assertion.h.

◆ similarity

float yaze::test::ComparisonResult::similarity = 0.0f

◆ difference_percentage

float yaze::test::ComparisonResult::difference_percentage = 0.0f

◆ total_pixels

int yaze::test::ComparisonResult::total_pixels = 0

◆ differing_pixels

int yaze::test::ComparisonResult::differing_pixels = 0

◆ diff_image_path

std::string yaze::test::ComparisonResult::diff_image_path

◆ differing_regions

std::vector<ScreenRegion> yaze::test::ComparisonResult::differing_regions

Definition at line 43 of file screenshot_assertion.h.

◆ comparison_time

std::chrono::milliseconds yaze::test::ComparisonResult::comparison_time {0}

◆ error_message


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