Sha256: bdcf6fb74a92a4b27cc2f5c57f57bcc0f03310b3b44b7e912304eb5c1c29e145
Contents?: true
Size: 473 Bytes
Versions: 36
Compression:
Stored size: 473 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), '../../..', 'test_helper.rb') require 'rbbt/util/python' require 'rbbt/util/python/util' class TestPythonUtil < Test::Unit::TestCase def test_tuple tsv = TSV.setup([], :key_field => "Key", :fields => %w(Value1 Value2), :type => :list) tsv["k1"] = %w(V1_1 V2_1) tsv["k2"] = %w(V1_2 V2_2) df = RbbtPython.tsv2df(tsv) new_tsv = RbbtPython.df2tsv(df) assert_equal tsv, new_tsv end end
Version data entries
36 entries across 36 versions & 1 rubygems