Class: AnswerFactory::Machines::TestCase
- Inherits:
-
Object
- Object
- AnswerFactory::Machines::TestCase
- Defined in:
- lib/machines/evaluate_with_test_cases.rb
Instance Attribute Summary collapse
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ TestCase
constructor
A new instance of TestCase.
Constructor Details
#initialize(options = {}) ⇒ TestCase
Returns a new instance of TestCase.
146 147 148 149 |
# File 'lib/machines/evaluate_with_test_cases.rb', line 146 def initialize( = {}) @inputs = [:inputs] || {} @outputs = [:outputs] || {} end |
Instance Attribute Details
#inputs ⇒ Object
Returns the value of attribute inputs.
144 145 146 |
# File 'lib/machines/evaluate_with_test_cases.rb', line 144 def inputs @inputs end |
#outputs ⇒ Object
Returns the value of attribute outputs.
144 145 146 |
# File 'lib/machines/evaluate_with_test_cases.rb', line 144 def outputs @outputs end |