17 lines
241 B
Go
17 lines
241 B
Go
package data_test
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/admin-else/strom/data"
|
|
)
|
|
|
|
func TestLookupBlockByStateId(t *testing.T) {
|
|
b, ok := data.LookupBlockByStateId("1.21.8", 0)
|
|
if !ok {
|
|
t.Fatal("Block not found")
|
|
}
|
|
fmt.Println(b)
|
|
}
|