Commit 59181256 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9b3d1b48
...@@ -117,12 +117,12 @@ func TestRangeSet(t *testing.T) { ...@@ -117,12 +117,12 @@ func TestRangeSet(t *testing.T) {
} }
for _, tt := range testv { for _, tt := range testv {
// U := tt.A.Union(tt.B) U := tt.A.Union(tt.B)
D := tt.A.Difference(tt.B) D := tt.A.Difference(tt.B)
// if !U.Equal(tt.Union) { if !U.Equal(tt.Union) {
// t.Errorf("Union:\n A: %s\n B: %s\n ->u: %s\n okU: %s\n", tt.A, tt.B, U, tt.Union) t.Errorf("Union:\n A: %s\n B: %s\n ->u: %s\n okU: %s\n", tt.A, tt.B, U, tt.Union)
// } }
if !D.Equal(tt.Difference) { if !D.Equal(tt.Difference) {
t.Errorf("Difference:\n A: %s\n B: %s\n ->d: %s\n okD: %s\n", tt.A, tt.B, D, tt.Difference) t.Errorf("Difference:\n A: %s\n B: %s\n ->d: %s\n okD: %s\n", tt.A, tt.B, D, tt.Difference)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment