14 lines
278 B
Go
14 lines
278 B
Go
package operation
|
|
|
|
import (
|
|
"local/sandbox/cards/src/entity"
|
|
"testing"
|
|
)
|
|
|
|
func TestOperationInterface(t *testing.T) {
|
|
foo := func(*entity.Game, interface{}) int64 { return 0 }
|
|
var _ Int = foo
|
|
bar := func(*entity.Game, interface{}) bool { return false }
|
|
var _ Bool = bar
|
|
}
|