aboutsummaryrefslogtreecommitdiff
path: root/pkg/pointer/stack-stack_test.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-23 16:14:37 +0200
committerJulien Dessaux2021-09-23 17:49:44 +0200
commit198efceb1f14c9822bf87ede6961d0f94a4760db (patch)
tree5391e03e81979b99380cf2794f8e338234a34b04 /pkg/pointer/stack-stack_test.go
parentMoved the character execution's to the pointer in order to handle the k command (diff)
downloadgofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.gz
gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.bz2
gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.zip
Implemented commands until helloworld works \o/
Diffstat (limited to 'pkg/pointer/stack-stack_test.go')
-rw-r--r--pkg/pointer/stack-stack_test.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/pointer/stack-stack_test.go b/pkg/pointer/stack-stack_test.go
index fd4c9ea..d5809fd 100644
--- a/pkg/pointer/stack-stack_test.go
+++ b/pkg/pointer/stack-stack_test.go
@@ -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)
-}