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.

43 lines
623 B

package goConcurrency
import "testing"
func TestSelectStmt(t *testing.T) {
for i := 0; i < 10; i++ {
println(i, "=======:")
SelectStmt()
}
}
func TestSelectBlock(t *testing.T) {
SelectBlock()
}
func TestSelectNilChannel(t *testing.T) {
SelectNilChannel()
}
func TestSelectFor(t *testing.T) {
SelectFor()
}
func TestSelectNonBlock(t *testing.T) {
SelectNonBlock()
}
func TestSelectRace(t *testing.T) {
SelectRace()
}
func TestSelectAll(t *testing.T) {
SelectAll()
}
func TestSelectChannelCloseSignal(t *testing.T) {
SelectChannelCloseSignal()
}
func TestSelectSignal(t *testing.T) {
SelectSignal()
}