Split Atlas chunks into tiles and objects
This commit is contained in:
parent
74dcae6542
commit
062f9cfec8
11 changed files with 284 additions and 169 deletions
|
@ -108,6 +108,7 @@ func TestServer_Radar(t *testing.T) {
|
|||
assert.NotZero(t, resp.Range, "Radar should return valid range")
|
||||
w := int(resp.Range*2 + 1)
|
||||
assert.Equal(t, w*w, len(resp.Tiles), "radar should return correct number of tiles")
|
||||
assert.Equal(t, w*w, len(resp.Objects), "radar should return correct number of objects")
|
||||
}
|
||||
|
||||
func TestServer_Rover(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue