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.
24 lines
334 B
24 lines
334 B
package netProgram
|
|
|
|
import "testing"
|
|
|
|
func TestTcpServer(t *testing.T) {
|
|
TcpServer()
|
|
}
|
|
|
|
func TestTcpClient(t *testing.T) {
|
|
TcpClient()
|
|
}
|
|
|
|
func TestTcpTimeoutClient(t *testing.T) {
|
|
TcpTimeoutClient()
|
|
}
|
|
|
|
func TestTcpBacklogServer(t *testing.T) {
|
|
TcpBacklogServer()
|
|
}
|
|
|
|
func TestTcpBacklogClient(t *testing.T) {
|
|
TcpBacklogClient()
|
|
}
|