Skip to content

LFLLMamdaniDefuzzifier - TestBisector fails #3

@matthiesenj

Description

@matthiesenj

Project built using MSYS GCC6.3.0 on Windows 10.
Test output is:

tests.exe is a Catch v1.12.1 host application.
Run with -? for options


LFLLMamdaniDefuzzifier - TestBisector

.../matthiesenj/LFLL/tests/mamdani/LFLLMamdaniDefuzzifierTest.cpp:99
...............................................................................

.../matthiesenj/LFLL/tests/mamdani/LFLLMamdaniDefuzzifierTest.cpp:131: FAILED:
REQUIRE( LFLL_APPROX(0.53103470802307129f) == ret )
with expansion:
Approx( 0.531034708 ) == 0.53126f

===============================================================================
test cases: 61 | 60 passed | 1 failed
assertions: 332 | 331 passed | 1 failed

I filed this issue to see if you have any pointers to why the test fails, i.e. compiler, Catch version, etc.
Is 0.53126f the actual value of ret ? (I don't really have any experience with Catch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions