mc root source folder cleanup

This commit is contained in:
adman
2026-06-27 13:54:54 +02:00
parent b2784574bd
commit 666f250b3e
480 changed files with 325 additions and 325 deletions
+18
View File
@@ -0,0 +1,18 @@
package data_test
import (
"testing"
"github.com/admin-else/strom/mc/data"
)
func TestLookUpProtocolVersion(t *testing.T) {
version, err := data.LookUpVersionByProtocolVersion(772)
if err != nil {
t.Fatalf("Expected to find version 772, got error: %v", err)
}
if version.MinecraftVersion != "1.21.8" {
t.Errorf("Expected version 1.21.8, got %s", version.MinecraftVersion)
}
t.Logf("Found version %v", version)
}