tests package¶
Submodules¶
tests.test_cse_machine module¶
tests.test_lexer module¶
- class tests.test_lexer.TestLexer(methodName='runTest')¶
Bases:
TestCase
- test_integer_token()¶
- test_lex()¶
- test_lex_comma()¶
- test_lex_comment()¶
- test_lex_comment_2()¶
- test_lex_empty()¶
- test_lex_invalid_token()¶
- test_lex_one_token()¶
- test_lex_paren()¶
- test_lex_semicolon()¶
- test_lex_simple()¶
- test_lex_spaces()¶
- test_lex_two_tokens()¶
- test_lookAhead_after_nextToken()¶
- test_lookAhead_comment()¶
- test_lookAhead_comment_2()¶
- test_lookAhead_default()¶
- test_lookAhead_empty()¶
- test_lookAhead_multiple_calls()¶
- test_lookAhead_simple()¶
- test_nextToken()¶
- test_operator_token()¶
- test_string_token()¶
- test_strings()¶