mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-08 03:00:27 +08:00
21 lines
272 B
Go
21 lines
272 B
Go
package nodes
|
|
|
|
import (
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
|
"testing"
|
|
)
|
|
|
|
func TestNode_Start(t *testing.T) {
|
|
node := NewNode()
|
|
node.Start()
|
|
}
|
|
|
|
func TestNode_Test(t *testing.T) {
|
|
node := NewNode()
|
|
err := node.Test()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|