summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_evendoors.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/test_evendoors.rb b/test/test_evendoors.rb
index fc76959..28d64a6 100644
--- a/test/test_evendoors.rb
+++ b/test/test_evendoors.rb
@@ -47,9 +47,13 @@ class ConcatBoard < EvenDoors::Board
if p.action==EvenDoors::ACT_ERROR
#
else
- p2 = p.merged_shift
- p.set_data 'line', (p.data('line')+' '+p2.data('line'))
- release_p p2
+ # MANUALLY
+ # p2 = p.merged_shift
+ # p.set_data 'line', (p.data('line')+' '+p2.data('line'))
+ # release_p p2
+ #
+ # Or let the system do it
+ p.set_data 'line', (p.data('line')+' '+p.merged(0).data('line'))
send_p p
end
end