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
412 B
28 lines
412 B
package goConcurrency
|
|
|
|
import "testing"
|
|
|
|
func TestChannelOperate(t *testing.T) {
|
|
ChannelOperate()
|
|
}
|
|
|
|
func TestChannelFor(t *testing.T) {
|
|
ChannelFor()
|
|
}
|
|
|
|
func TestChannelSync(t *testing.T) {
|
|
ChannelSync()
|
|
}
|
|
|
|
func TestChannelAsync(t *testing.T) {
|
|
ChannelAsync()
|
|
}
|
|
|
|
func TestChannelGoroutineNumCtl(t *testing.T) {
|
|
ChannelGoroutineNumCtl()
|
|
}
|
|
|
|
func TestChannelDirectional(t *testing.T) {
|
|
ChannelDirectional()
|
|
}
|