🎲Add more test cases for new code

This commit is contained in:
Andy Pan 2019-07-27 12:05:55 +08:00
parent 51c0008356
commit 9cfc9fa643
1 changed files with 4 additions and 0 deletions

View File

@ -480,4 +480,8 @@ func TestRestCodeCoverage(t *testing.T) {
ppremWithFunc.Tune(TestSize / 10) ppremWithFunc.Tune(TestSize / 10)
t.Logf("pre-malloc pool with func, after tuning capacity, capacity:%d, running:%d", ppremWithFunc.Cap(), t.Logf("pre-malloc pool with func, after tuning capacity, capacity:%d, running:%d", ppremWithFunc.Cap(),
ppremWithFunc.Running()) ppremWithFunc.Running())
// Test for "goto"
p0.Submit(demoFunc)
p.Invoke(Param)
} }