|
|
|
@ -6,6 +6,8 @@ import "testing"
|
|
|
|
import "reflect"
|
|
|
|
import "reflect"
|
|
|
|
import tu "git.tebibyte.media/sashakoshka/hopp/internal/testutil"
|
|
|
|
import tu "git.tebibyte.media/sashakoshka/hopp/internal/testutil"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type userDefinedInteger int16
|
|
|
|
|
|
|
|
|
|
|
|
func TestEncodeAnyInt(test *testing.T) {
|
|
|
|
func TestEncodeAnyInt(test *testing.T) {
|
|
|
|
err := testEncodeAny(test, uint8(0xCA), LI.WithCN(0), tu.S(0xCA))
|
|
|
|
err := testEncodeAny(test, uint8(0xCA), LI.WithCN(0), tu.S(0xCA))
|
|
|
|
if err != nil { test.Fatal(err) }
|
|
|
|
if err != nil { test.Fatal(err) }
|
|
|