generate test to ensure code generation worked
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package inst
|
||||
|
||||
//go:generate avogen -data ../data -output ztable.go godata
|
||||
//go:generate avogen -data ../data -output ztable_test.go godatatest
|
||||
|
||||
func Lookup(opcode string) (Instruction, bool) {
|
||||
for _, i := range Instructions {
|
||||
|
||||
Reference in New Issue
Block a user