Implemented commands until helloworld works \o/
This commit is contained in:
parent
f86b5724e5
commit
198efceb1f
10 changed files with 244 additions and 45 deletions
|
@ -248,13 +248,3 @@ func TestUnder(t *testing.T) {
|
|||
require.Equal(t, expected, ss)
|
||||
})
|
||||
}
|
||||
|
||||
func TestPushPop(t *testing.T) {
|
||||
ss := NewStackStack()
|
||||
ss.Push(12)
|
||||
ss.Push(5)
|
||||
v := ss.Pop()
|
||||
require.Equal(t, 5, v)
|
||||
v = ss.Pop()
|
||||
require.Equal(t, 12, v)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue