Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnitTests fails several tests #222

Open
Fat-Zer opened this issue Nov 11, 2024 · 0 comments
Open

UnitTests fails several tests #222

Fat-Zer opened this issue Nov 11, 2024 · 0 comments

Comments

@Fat-Zer
Copy link

Fat-Zer commented Nov 11, 2024

********* Start testing of LexicalAnalyzerTest *********
Config: Using QtTest library 6.7.3, Qt 6.7.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20241024), gentoo 2.17
PASS   : LexicalAnalyzerTest::initTestCase()
PASS   : LexicalAnalyzerTest::test_null()
FAIL!  : LexicalAnalyzerTest::test_numbers() 'scanned == tokens' returned FALSE. (stream: .0 0.1 3.5 -4. +5.0 -6.58 7.478, actual = { Real(0), Real(0.1), Real(3.5), Real(-4), Real(5), Real(-6.58), Real(7.478000000000001) }, expected = { Real(0), Real(0.1), Real(3.5), Real(-4), Real(5), Real(-6.58), Real(7.478) })
   Loc: [../../../home/alexander/projects/PDF4QT/UnitTests/tst_lexicalanalyzertest.cpp(1134)]
FAIL!  : LexicalAnalyzerTest::test_numbers() 'scanned == tokens' returned FALSE. (stream: 1000000000000000000000000000, actual = { Real(9.999999999999999e+26) }, expected = { Real(1e+27) })
   Loc: [../../../home/alexander/projects/PDF4QT/UnitTests/tst_lexicalanalyzertest.cpp(1134)]
PASS   : LexicalAnalyzerTest::test_strings()
PASS   : LexicalAnalyzerTest::test_name()
PASS   : LexicalAnalyzerTest::test_bool()
PASS   : LexicalAnalyzerTest::test_ad()
PASS   : LexicalAnalyzerTest::test_command()
FAIL!  : LexicalAnalyzerTest::test_invalid_input() Expected exception of type pdf::PDFException to be thrown but no exception caught
   Loc: [../../../home/alexander/projects/PDF4QT/UnitTests/tst_lexicalanalyzertest.cpp(224)]
PASS   : LexicalAnalyzerTest::test_header_regexp()
PASS   : LexicalAnalyzerTest::test_flat_map()
PASS   : LexicalAnalyzerTest::test_lzw_filter()
PASS   : LexicalAnalyzerTest::test_sampled_function()
PASS   : LexicalAnalyzerTest::test_exponential_function()
PASS   : LexicalAnalyzerTest::test_stitching_function()
PASS   : LexicalAnalyzerTest::test_postscript_function()
PASS   : LexicalAnalyzerTest::test_jbig2_arithmetic_decoder()
PASS   : LexicalAnalyzerTest::cleanupTestCase()
Totals: 16 passed, 2 failed, 0 skipped, 0 blacklisted, 346ms
********* Finished testing of LexicalAnalyzerTest ********
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant