test/diachronr_test.rb in diachronr-1.0.0 vs test/diachronr_test.rb in diachronr-1.1.0

- old
+ new

@@ -29,10 +29,17 @@ end def test_apply_ruleset r = Diachronr::RuleSet.load 'test/fixtures/seonic_to_varag.yml' r.options['seonic'].each do |seonic, varag| - assert_equal r.apply(seonic), varag + assert_equal varag, r.apply(seonic) end end -end \ No newline at end of file + def test_apply_ruleset_multi_category + r = Diachronr::RuleSet.load 'test/fixtures/multi-char.yml' + r.options['test'].each do |from, to| + assert_equal to, r.apply(from) + end + end + +end