1. Shlomi Fish
  2. kakuro-cross-sums

Commits

shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b  committed f1b19fb

Added the internal->human transform.

  • Participants
  • Parent commits 332ea12
  • Branches default

Comments (0)

Files changed (1)

File solver/ruby/t/check-perms.rb

View file
  • Ignore whitespace
         ).should eql([1,2,3,4])
     end
 
+    it "internal->human transform for 7+9" do
+        @perm.internal_to_human(
+            (1 << (7-1)) | (1 << (9-1))
+        ).should eql([7,9])
+    end
+
 end