}
end
+ def test_each_ccs
+ @ds = CHISE::DataSource.new
+ @ds.each_ccs {|ccs|
+ #qp ccs
+ assert_instance_of(String, ccs)
+ ct = @ds.get_ccs(ccs)
+ assert_instance_of(CHISE::CCSTable, ct)
+ }
+
+ ct = @ds.get_ccs("=ascii")
+ ct.each {|k, v|
+ #qp k, v
+ assert_kind_of(Integer, k)
+ assert_kind_of(Integer, v)
+ }
+ ct.close
+ end
+
def test_error
@ds = CHISE::DataSource.new
@ft = @ds.get_feature("nosuchfeature")