Created
November 2, 2012 13:52
-
-
Save bambuchaAdm/4001484 to your computer and use it in GitHub Desktop.
rbNFA test example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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