Module RegexList::Assertions
In: lib/regex_list.rb

Methods

Attributes

regex_list  [RW] 

Public Instance methods

[Source]

# File lib/regex_list.rb, line 68
    def assert_regex_list_score ( input, ref, cache=true )
      if cache
        assert_equal ref, @regex_list.score(input)
      else
        assert_equal ref, @regex_list.score_without_cache(input)
      end
    end

[Validate]