Something went wrong. Try again.
馃尡 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
12345678910111213141516package cpu_test
import ( "testing"
"git.urbach.dev/cli/q/src/cpu" "git.urbach.dev/go/assert")
func TestRegisterString(t *testing.T) { r1 := cpu.Register(1) assert.Equal(t, r1.String(), "r1")
undefined := cpu.Register(-1) assert.Equal(t, undefined.String(), "r?")}