Skip to content

Commit

Permalink
Wrote Test for abandon
Browse files Browse the repository at this point in the history
  • Loading branch information
JanFehse committed Jul 1, 2022
1 parent 007db9a commit 505aaf1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
tests
testAbandonMethodWorks

| view abandonCode|
abandonCode := '| morph |
morph := Morph new.
morph openInWorld: playground.
morph center: playground center.
morph abandon.'.

view := builder build: explorationView.
view model evaluateCode: abandonCode.
self assert: view model playground submorphs size equals: 0.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"sampleCode" : "SC 6/29/2021 04:50",
"setUp" : "lk 7/24/2019 16:15",
"tearDown" : "lk 7/24/2019 15:02",
"testAbandonMethodWorks" : "JF 7/1/2022 12:06",
"testBackButtonOfExplorationViewLeadsToOverView" : "SC 7/16/2021 17:35",
"testBuiltExplorationViewForCategoryReturnsCorrectMethodList" : "lk 7/24/2019 17:42",
"testBuiltExplorationViewForCategoryReturnsIdenticalCategory" : "lk 7/24/2019 15:44",
Expand Down

0 comments on commit 505aaf1

Please sign in to comment.