Skip to content

Algorithms test fail on some brands #48

@peterpt

Description

@peterpt

After compiling the test code to see if everything went fine ahead i got some algorithms test failures .

According to gcc everything went fine :
https://pastebin.com/2KN9niNK

However , on the tests i got this :

********* Start testing of AlgorithmsTest *********
Config: Using QtTest library 5.11.3, Qt 5.11.3 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.2.0)
PASS : AlgorithmsTest::initTestCase()
PASS : AlgorithmsTest::test()
PASS : AlgorithmsTest::testAliceItaly()
PASS : AlgorithmsTest::testAliceItaly2()
PASS : AlgorithmsTest::testAliceItaly3()
PASS : AlgorithmsTest::testAliceItaly4()
PASS : AlgorithmsTest::testAliceGermany()
PASS : AlgorithmsTest::testArcadyan()
PASS : AlgorithmsTest::testArcadyan2()
PASS : AlgorithmsTest::testInterCable()
FAIL! : AlgorithmsTest::testArnetPirelli() Compared values are not the same
Actual (results.at(0)) : "7qp5eq4ekr"
Expected (QString("hcckr5ch38")): "hcckr5ch38"
Loc: [AlgorithmsTest.cpp(169)]
FAIL! : AlgorithmsTest::testArnetPirelli2() Compared values are not the same
Actual (results.at(0)) : "7qp5eq4e"
Expected (QString("ds7prly5")): "ds7prly5"
Loc: [AlgorithmsTest.cpp(182)]
PASS : AlgorithmsTest::testBelkin()
FAIL! : AlgorithmsTest::testBelkin2() Caught unhandled exception
Loc: [qtestcase.cpp(1847)]
Totals: 11 passed, 3 failed, 0 skipped, 0 blacklisted, 122ms
********* Finished testing of AlgorithmsTest *********
terminate called after throwing an instance of 'int'
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions