Skip to content

Commit be78aef

Browse files
committed
add
1 parent 60d9543 commit be78aef

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jiuzhangsuanfa/stack/stack_test.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package stack
2+
3+
import (
4+
"fmt"
5+
"testing"
6+
)
7+
8+
func TestStack_Pop(t *testing.T) {
9+
s := NewStack()
10+
11+
s.Push("1")
12+
s.Push("2")
13+
14+
e := s.Pop()
15+
fmt.Println(e)
16+
}

0 commit comments

Comments
 (0)