# File scripts/test-harvester.rb, line 84
    def test_tp
      tp = TextPortion.new("1234a567a89", 0)
      rule = RegexRule.new("a")
      ad = Ad.new("This is not really used here.")
      
      tp_hash = tp.split_on_rule(rule, ad)
      assert_equal("1234", tp_hash[0].txt)
      assert_equal("a", tp_hash[4].txt)
      assert_equal("567", tp_hash[5].txt)
      assert_equal("a", tp_hash[8].txt)
      assert_equal("89", tp_hash[9].txt)
    end