Implemented commands until helloworld works \o/

This commit is contained in:
Julien Dessaux 2021-09-23 16:14:37 +02:00
parent f86b5724e5
commit 198efceb1f
10 changed files with 244 additions and 45 deletions

View file

@ -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)
}