diyorsattarov / 2

open-source 2
Other
1 stars 0 forks source link

Additional lexer tests #5

Closed diyorsattarov closed 1 year ago

diyorsattarov commented 1 year ago

admin: ~/workspace/cpp/compilator/build (additional-lexer-tests)$ ./tests
Running main() from ./googletest/src/gtest_main.cc
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from LexerTests
[ RUN      ] LexerTests.TokenizeSimpleCode
[       OK ] LexerTests.TokenizeSimpleCode (0 ms)
[ RUN      ] LexerTests.TokenizeBasicTypes
[       OK ] LexerTests.TokenizeBasicTypes (0 ms)
[ RUN      ] LexerTests.TokenizeWithWhitespace
[       OK ] LexerTests.TokenizeWithWhitespace (0 ms)
[ RUN      ] LexerTests.TokenizeInvalidInput
[       OK ] LexerTests.TokenizeInvalidInput (0 ms)
[ RUN      ] LexerTests.MultiplicativeOperators
[       OK ] LexerTests.MultiplicativeOperators (0 ms)
[ RUN      ] LexerTests.CppKeywords
[       OK ] LexerTests.CppKeywords (0 ms)
[ RUN      ] LexerTests.String
[       OK ] LexerTests.String (0 ms)
[ RUN      ] LexerTests.CharLiterals
[       OK ] LexerTests.CharLiterals (0 ms)
[ RUN      ] LexerTests.StringCharLiterals
[       OK ] LexerTests.StringCharLiterals (0 ms)
[ RUN      ] LexerTests.IdentifierDigits
[       OK ] LexerTests.IdentifierDigits (0 ms)
[ RUN      ] LexerTests.TokenizeSpecialCharacters
[       OK ] LexerTests.TokenizeSpecialCharacters (0 ms)
[ RUN      ] LexerTests.EmptyString
[       OK ] LexerTests.EmptyString (0 ms)
[ RUN      ] LexerTests.TokenizeNonASCII
[       OK ] LexerTests.TokenizeNonASCII (0 ms)
[ RUN      ] LexerTests.LineEndings
[       OK ] LexerTests.LineEndings (0 ms)
[ RUN      ] LexerTests.BigNumber
[       OK ] LexerTests.BigNumber (0 ms)
[ RUN      ] LexerTests.EscapedCharacters
[       OK ] LexerTests.EscapedCharacters (0 ms)
[----------] 16 tests from LexerTests (0 ms total)

[----------] Global test environment tear-down
[==========] 16 tests from 1 test suite ran. (0 ms total)
[  PASSED  ] 16 tests.```