printing: commit some refactors (probably broken)

This commit is contained in:
Michael McLoughlin
2018-12-11 00:18:22 -08:00
parent 4dc909a81e
commit c882e52510
21 changed files with 398 additions and 222 deletions

12
examples/add/add_test.go Normal file
View File

@@ -0,0 +1,12 @@
package add
import (
"testing"
"testing/quick"
)
//go:generate go run asm.go -out add.s -stubs stub.go
func TestAdd(t *testing.T) {
quick.CheckEqual(Add, func(x, y uint64) uint64 { return x + y }, nil)
}