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
390 B
28 lines
390 B
2 years ago
|
package goConcurrency
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestGoroutineGo(t *testing.T) {
|
||
|
GoroutineGo()
|
||
|
}
|
||
|
|
||
|
func TestGoroutineWG(t *testing.T) {
|
||
|
GoroutineWG()
|
||
|
}
|
||
|
|
||
|
func TestGoroutineNum(t *testing.T) {
|
||
|
GoroutineNum()
|
||
|
}
|
||
|
|
||
|
func TestGoroutineAnts(t *testing.T) {
|
||
|
GoroutineAnts()
|
||
|
}
|
||
|
|
||
|
func TestGoroutineRandom(t *testing.T) {
|
||
|
GoroutineRandom()
|
||
|
}
|
||
|
|
||
|
func TestGoroutineSched(t *testing.T) {
|
||
|
GoroutineSched()
|
||
|
}
|