spec/objects/vector_spec.rb in qlang-0.0.27180000 vs spec/objects/vector_spec.rb in qlang-0.0.27182000

- old
+ new

@@ -21,15 +21,26 @@ ).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)') ).to eq( "Vector[1, 2, 3]" + ) + end + end + + context 'into Python' do + it do + expect( + Q.to_python.compile('(1 2 3)') + ).to eq( + "array([1, 2, 3])" ) end end end end