Update expanded world boundary test
This commit is contained in:
parent
ce8c8333cc
commit
e5571b9dee
@ -25,7 +25,7 @@ func TestTransformSanitizers(t *testing.T) {
|
||||
if got := clampFloat(-5, 0, worldSize); got != 0 {
|
||||
t.Fatalf("clamp low=%v", got)
|
||||
}
|
||||
if got := clampFloat(4000, 0, worldSize); got != worldSize {
|
||||
if got := clampFloat(6000, 0, worldSize); got != worldSize {
|
||||
t.Fatalf("clamp high=%v", got)
|
||||
}
|
||||
if got := clampFloat(math.NaN(), 0, worldSize); got != 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user