This commit is contained in:
adman
2026-07-05 10:49:45 +02:00
parent a8b090227b
commit eab050e291
5 changed files with 38 additions and 25 deletions
+6 -1
View File
@@ -36,5 +36,10 @@ func TestBiome(t *testing.T) {
x := XoroshiroFromSeed(worldSeed)
x.Mix()
b := BiomeNoiseFromXoroshiro(x, false)
b.Sample(-1, -16, 0)
_, _, _, _, _, _, combinedData, _ := b.Sample(-1, -16, 0)
expected := [6]int64{3238, 3521, 2364, 1396, 0, 2202}
if combinedData != expected {
t.Errorf("combinedData = %v, want %v", combinedData, expected)
}
}