예제 #1
0
        public void NormalizeOriginal_Should_Produce_Valid_Dnf_Which_Has_The_Same_Hex_Code_As_The_Original_Table()
        {
            TruthTable table = new TruthTable(VALID_TRUTHTABLE_VALUES);

            table.HexResult.Should().BeEquivalentTo(table.NormalizeOriginal().BuildExpressionTree().BuildTruthTable(VARIABLE_RESULT).HexResult);
        }