You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
369 B
28 lines
369 B
2 years ago
|
package goSyntax
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestGenericDef(t *testing.T) {
|
||
|
GenericDef()
|
||
|
}
|
||
|
|
||
|
func TestGenericExt(t *testing.T) {
|
||
|
GenericExt()
|
||
|
}
|
||
|
|
||
|
func TestGenericReceiver(t *testing.T) {
|
||
|
GenericReceiver()
|
||
|
}
|
||
|
|
||
|
func TestTT(t *testing.T) {
|
||
|
GenericInference()
|
||
|
}
|
||
|
|
||
|
func TestGenericFunc(t *testing.T) {
|
||
|
GenericFunc()
|
||
|
}
|
||
|
|
||
|
func TestTypeInference(t *testing.T) {
|
||
|
TypeInference()
|
||
|
}
|