Made test clearer

This commit is contained in:
Ben Cragg 2019-01-29 11:41:10 +00:00
parent 23168ee324
commit 2e275ab0d5
1 changed files with 2 additions and 2 deletions

View File

@ -580,9 +580,9 @@ func TestRect_IntersectsCircle(t *testing.T) {
want: true, want: true,
}, },
{ {
name: "Rect.IntersectsCircle(): circle overlaps two corner", name: "Rect.IntersectsCircle(): circle overlaps two corners",
fields: fields{Min: pixel.V(0, 0), Max: pixel.V(10, 10)}, fields: fields{Min: pixel.V(0, 0), Max: pixel.V(10, 10)},
args: args{c: pixel.C(11, pixel.V(0, 5))}, args: args{c: pixel.C(6, pixel.V(0, 5))},
want: true, want: true,
}, },
{ {