Sha256: d3fd7100af5faefce3158849c023c3f006dabbda2ddd75ce8e36febddcf0269d
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
require 'spec_helper' module Alf module Relvar describe Virtual, "to_cog" do let(:expr){ Algebra::Operand::Named.new(:aname, self) } let(:rv) { Virtual.new(expr) } subject{ rv.to_cog(12) } def cog(*args) @seen = args end it{ should eq([12, expr]) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-relvar/virtual/test_to_cog.rb |