Sha256: 2a6742557277971633b2cad6fcbc30d431e9f20f8b31661a12dd77b668a5d465
Contents?: true
Size: 496 Bytes
Versions: 5
Compression:
Stored size: 496 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Negation, '#operand' do subject { object.operand } let(:optimized_operand) { mock('Optimized Operand') } let(:operand) { mock('Operand', :optimize => optimized_operand) } let(:negation) { mock('Negation', :operand => operand) } let(:object) { described_class.new(negation) } it { should equal(optimized_operand) } end
Version data entries
5 entries across 5 versions & 2 rubygems