Skip to content

Commit f2435ff

Browse files
[Feature] Add scene comparison report (Resolves #43)
1 parent e35c5d0 commit f2435ff

File tree

2 files changed

+297
-74
lines changed

2 files changed

+297
-74
lines changed

lib/src/goldens/golden_comparisons.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class PixelGoldenMismatch extends GoldenMismatch {
101101

102102
int get totalPixelCount => golden.size.width.toInt() * golden.size.height.toInt();
103103

104-
double get percent => mismatchPixelCount / totalPixelCount;
104+
double get percent => mismatchPixelCount / totalPixelCount * 100;
105105

106106
@override
107107
String get describe =>

0 commit comments

Comments
 (0)