func TestIsInt(t *testing.T) {
	t.Parallel()
	var tests = []struct {
		data     string
		expected bool
	}{
		{"", false},
		{"주", false},
		{"nil", false},
		{"null", false},
		{"1", true},
		{"0", true},
		{"1111-", false},
		{"-1", true},
		{"5.3", false},
		{"\u0031", true},
		{"\x31", true},
	}
	for _, test := range tests {
		actual := IsInt(test.data)
		if actual != test.expected {
			t.Errorf("Expected IsInt(%q) to be %v, got %v", test.data, test.expected, actual)
		}
	}
}
TestIsInt tests the IsInt function
package gosc
import (
	"testing"
)