Module: Decision

Included in:
BinaryDecision, Condition, Negation, Parenthesized
Defined in:
lib/logic_operations.rb

Instance Method Summary collapse

Instance Method Details

#mcdc_pairsObject



19
20
21
# File 'lib/logic_operations.rb', line 19

def mcdc_pairs
  test_cases.mcdc_pairs
end

#test_casesObject



11
12
13
# File 'lib/logic_operations.rb', line 11

def test_cases
  @test_cases ||= TestCaseSet.new(condition_identifiers, self)
end

#truth_tableObject



15
16
17
# File 'lib/logic_operations.rb', line 15

def truth_table
  TruthTable.new(test_cases)
end