mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
cgen: omit "x ~mod+= y ~mod* 0"
This commit is contained in:
1 parent
1f3df26c7f
commit
40f39a3ba3
5 files changed
+22
-235
No files matched your search
@@ -283,8 +283,8 @@ func TestContainsEtc(tt *testing.T) {
|
||||
tt.Errorf("%v eq %v: got %t, want %t", x, sharedEmptyRange, got, want)
|
||||
}
|
||||
|
||||
if got, want := x.justZero(), tc.s == "[ 0, 0]"; got != want {
|
||||
tt.Errorf("%s.justZero(): got %t, want %t", tc.s, got, want)
|
||||
if got, want := x.IsJustZero(), tc.s == "[ 0, 0]"; got != want {
|
||||
tt.Errorf("%s.IsJustZero(): got %t, want %t", tc.s, got, want)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user