generate NBT TAG_Compound

This commit is contained in:
Tnze
2021-05-26 01:35:58 +08:00
parent 1f7d07b279
commit 00fcdb4b14
4 changed files with 47 additions and 17 deletions

View File

@ -6,10 +6,10 @@ import (
)
func TestSNBT_checkScanCode(t *testing.T) {
//t.SkipNow()
t.SkipNow()
var s scanner
s.reset()
for _, c := range []byte(`1234`) {
for _, c := range []byte(`{ "a b\"c": {}, def: 12345, 'gh"i': 0.123f}`) {
t.Logf("[%c] - %d", c, s.step(c))
}
t.Logf("[%c] - %d", ' ', s.eof())