tweeking a test

This commit is contained in:
unknown 2020-07-24 07:37:50 +02:00
parent 6718740c8c
commit 18b0395578
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func TestQuadtree_Update(t *testing.T) {
} }
for _, test := range tests { for _, test := range tests {
t.Run(test.description, func(t *testing.T) { t.Run(test.description, func(t *testing.T) {
qt := New(pixel.R(-200, -200, 200, 200), 2, 1) qt := New(pixel.R(-100, -100, 300, 300), 2, 1)
qt.Insert(&test.target) qt.Insert(&test.target)
test.target.Vec = test.target.Vec.Add(test.target.vel) test.target.Vec = test.target.Vec.Add(test.target.vel)
for _, o := range test.other { for _, o := range test.other {