class RoadForest::Testing::StatementsFromGraph

Public Class Methods

new(graph) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 253
def initialize(graph)
  @graph = graph
end

Public Instance Methods

that_match(query)
Alias for: that_match_query
that_match_pattern(query)
Alias for: that_match_query
that_match_query(query) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 257
def that_match_query(query)
  @graph.query(query).to_a
end
Also aliased as: that_match, that_match_pattern