16 lines
229 B
Go
16 lines
229 B
Go
package data_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/admin-else/strom/mc/data"
|
|
)
|
|
|
|
func TestLookupBiomeById(t *testing.T) {
|
|
b, ok := data.LookupBiomeById("1.21.8", 10)
|
|
if !ok {
|
|
t.Fatal("Biome not found")
|
|
}
|
|
t.Logf("%v", b)
|
|
}
|