Made test clearer
This commit is contained in:
parent
23168ee324
commit
2e275ab0d5
|
@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue