legacy_rspec/objects/vector_spec.rb in hilbert-0.0.2700001 vs legacy_rspec/objects/vector_spec.rb in hilbert-0.0.2700100

- old
+ new

@@ -3,42 +3,42 @@ describe Hilbert do describe 'Vector' do context 'into R' do it do expect( - Q.to_r.compile('(1 2 3)') + Hilbert.to_r.compile('(1 2 3)') ).to eq( 'c(1, 2, 3)' ) expect( - Q.to_r.compile('(1 2 3 4 5 6)') + Hilbert.to_r.compile('(1 2 3 4 5 6)') ).to eq( 'c(1, 2, 3, 4, 5, 6)' ) expect( - Q.to_r.compile('(1 2 3 4 5 6)') + Hilbert.to_r.compile('(1 2 3 4 5 6)') ).to eq( 'c(1, 2, 3, 4, 5, 6)' ) end end context 'into Ruby' do it do expect( - Q.to_ruby.compile('(1 2 3)') + Hilbert.to_ruby.compile('(1 2 3)') ).to eq( 'Vector[1, 2, 3]' ) end end context 'into Python' do it do expect( - Q.to_python.compile('(1 2 3)') + Hilbert.to_python.compile('(1 2 3)') ).to eq( 'array([1, 2, 3])' ) end end