--- /dev/null
+#!/usr/bin/env ruby
+# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
+
+require "common"
+require "chise/defkanji"
+
+class TestDefKanji < Test::Unit::TestCase
+ def test_defkanji
+ idsdef = CHISE::IDS_Definition.instance
+ assert_instance_of(CHISE::IDS_Definition, idsdef)
+ #idsdef.define_all
+ end
+end
--- /dev/null
+#!/usr/bin/env ruby
+# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
+
+$LOAD_PATH.unshift("..")
+require "chise/char"
+require "chise/defkanji"
+
+idsdef = CHISE::IDS_Definition.instance
+idsdef.define_all
require "chise/idsdb"
man = CHISE::IDS_DB_Management.new
-man.store_ids_to_bdb # 9\95ª
-
-=begin
-db = IDS_DB.instance
-db.make_ids_db #1\8e\9e\8aÔ12\95ª
-IDS_TEXT_DB.instance.make_ids_error #4\95ª
-db.make_ids_reverse #2\95ª
-db.dump_ids_duplicated #1\95ª
-db.make_ids_aggregated #5\95ª
-db.dump_ids_aggregated #1\95ª
-db.make_ids_parts #30\95ª
-db.make_ids_contained #2\95ª
-#db.make_ids_decomposed #2\95ª\81¨\82¨\82í\82ç\82È\82©\82Á\82½\81c\81B
-=end
+# make sure there is no conflict ruby : ext
+man.check_conflict_of_ids_text # 151.633 : 150.287
+man.store_ids_as_text # 172.024 : 177.618 86470
+man.store_ids_de_er # 47.99 : 38.926 81899
+man.check_integrity_of_ids_tree # 58.185 : 48.015 79417
+man.make_by_ids_db_org # 29.572 : 24.511 75562
+man.store_ids_aggregated # 66.609 : 51.832 79417
+man.store_ids_subparts # 1638.966 : 959.413 79417
+man.store_ids_contained # 773.808 : 696.374
+man.make_by_ids_db # 28.071 : 31.0