MCPcopy Create free account
hub / github.com/crossoverJie/gscript / TestByte2

Function TestByte2

byte_test.go:18–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16 NewCompiler().Compiler(script)
17}
18func TestByte2(t *testing.T) {
19 script := `
20int[] a={1,2};
21println(a);
22`
23 NewCompiler().Compiler(script)
24}
25func TestByte3(t *testing.T) {
26 script := `
27string s = "10";

Callers

nothing calls this directly

Calls 2

NewCompilerFunction · 0.85
CompilerMethod · 0.80

Tested by

no test coverage detected