File: eql_spec.rb

package info (click to toggle)
ruby-morpher 0.2.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 520 kB
  • sloc: ruby: 2,366; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
describe Morpher::Evaluator::Predicate::EQL do
  let(:object) { described_class.new(left, right) }

  let(:left)  { Morpher.compile(s(:static, 1.0)) }
  let(:right) { Morpher.compile(s(:input))       }

  let(:positive_input) { 1.0 }
  let(:negative_input) { 1   }

  include_examples 'predicate evaluator'
end