Skip to content

Instantly share code, notes, and snippets.

@bambuchaAdm
Created November 2, 2012 13:52
Show Gist options
  • Select an option

  • Save bambuchaAdm/4001484 to your computer and use it in GitHub Desktop.

Select an option

Save bambuchaAdm/4001484 to your computer and use it in GitHub Desktop.
rbNFA test example
it "empty grapth form empty token stream" do
graph = parser.parse([])
graph.begin.should have(1).next
graph.begin.next.first.should be graph.end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment