mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Paint Bucket: rule out solid green in the ramp fringe test
This commit is contained in:
1 parent
0300d7b25a
commit
31b2fa47a7
1 file changed
+1
@@ -82,6 +82,7 @@ fn opaque_seed_fringe_on_a_ramp_keeps_its_values() {
|
||||
assert_eq!(*p, GREEN, "ramp {x} fills");
|
||||
}
|
||||
for x in [94, 160] {
|
||||
assert_ne!(after[x], GREEN, "ramp {x} blends, not a full fill");
|
||||
assert!(near(after[x], [1, 254, 1, 255]), "ramp {x} blends: {:?}", after[x]);
|
||||
}
|
||||
for x in [93, 161] {
|
||||
|
||||
Reference in new issue
Block a user