Skip to content

Commit 2f5acc5

Browse files
committed
Reformat
1 parent 9e1780f commit 2f5acc5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ttester-codewars.4th

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,10 @@ variable #passed variable #failed variable #results
8383
else #results ++ then ;
8484

8585
: }>
86-
#passed 0! #failed 0! #results 0!
87-
\ data stack
88-
depth start-depth @ - dup #expecteds ! #actuals @ cell expecteds[] actuals[] ['] compare compare-results
86+
#passed 0! #failed 0! #results 0! \ user code has already finished running here
87+
depth start-depth @ - dup #expecteds ! #actuals @ cell expecteds[] actuals[] ['] compare compare-results \ compare cell stack
8988
restore-stack
90-
\ floating point stack
91-
fdepth start-fdepth @ - dup #expecteds.f ! #actuals.f @ float expecteds.f[] actuals.f[] ['] compare.f compare-results
89+
fdepth start-fdepth @ - dup #expecteds.f ! #actuals.f @ float expecteds.f[] actuals.f[] ['] compare.f compare-results \ compare float stack
9290
restore-fstack
9391
\ pass test results to framework
9492
#results @ #failed @ + if failed#

0 commit comments

Comments
 (0)