Create some subroutines and test

This commit is contained in:
Bel LaPointe
2021-03-14 23:29:50 -05:00
parent 60adca804b
commit d79721b760
8 changed files with 578 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package operation
import (
"local/sandbox/cards/src/entity"
"testing"
)
func TestOperationInterface(t *testing.T) {
foo := func(*entity.Game, interface{}) int { return 0 }
var _ Int = foo
bar := func(*entity.Game, interface{}) bool { return false }
var _ Bool = bar
}