IsaacLewis/NAND-CPU — pull request #2 by matthiasbeyer (2012-05-27 10:24:36+00:00)
Title: Added TruthTest

I added a truthtest as said in the TODO file.

Please notice:
On my machine I was not able to generate a TruthTable with 2**5 states. I do not know why the MemoryAlliocationError arrived... maybe I have a bug in my algorithm. But for 2**(1..4) it works fine and I think these are the number of inputs you logical elements have.
Maybe you can try to run TruthTable.new(5) on your machine ... with more memory it should work!

kind regards
Matthias Beyer