Sha256: d845f9b7c5da6be18d6efe6a11374d18dd44dd60a9622c732b2a076868522631
Contents?: true
Size: 650 Bytes
Versions: 5
Compression:
Stored size: 650 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Binary, '#right' do subject { object.right } let(:optimized_left) { mock('Optimized Left') } let(:optimized_right) { mock('Optimized Right') } let(:left) { mock('Left', :optimize => optimized_left) } let(:right) { mock('Right', :optimize => optimized_right) } let(:connective) { mock('Connective', :left => left, :right => right) } let(:object) { described_class.new(connective) } it { should equal(optimized_right) } end
Version data entries
5 entries across 5 versions & 2 rubygems