Class: Phronomy::Testing::Eval::EvalCase

Inherits:
Data
  • Object
show all
Defined in:
lib/phronomy/testing/eval/eval_case.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input:, expected:, metadata: {}) ⇒ EvalCase

Returns a new instance of EvalCase.



7
8
9
# File 'lib/phronomy/testing/eval/eval_case.rb', line 7

def initialize(input:, expected:, metadata: {})
  super
end

Instance Attribute Details

#expectedObject (readonly)

Returns the value of attribute expected

Returns:

  • (Object)

    the current value of expected



6
7
8
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6

def expected
  @expected
end

#inputObject (readonly)

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



6
7
8
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6

def input
  @input
end

#metadataObject (readonly)

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



6
7
8
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6

def 
  @metadata
end