Skip to content

Tests are failing #55

@JensRantil

Description

@JensRantil
bash-3.2$ go test ./...
--- FAIL: ExampleDiffEvo (0.00s)
got:
Found minimum of 0.00137 in [0.00044201296938241373 0.00019592462513264675]
want:
Found minimum of 0.00137 in [0.0004420129693826938 0.000195924625132926]
--- FAIL: ExampleOES (0.00s)
got:
Found minimum of 0.02270 in [0.006807861794722089 -0.008251984117745251]
want:
Found minimum of 0.02270 in [0.006807861794722094 -0.008251984117745246]
FAIL
FAIL	github.com/MaxHalford/eaopt	0.140s
FAIL
bash-3.2$ git show
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
commit acd0f5778f8e7eca8524d53cb9b236cecb67e7ba (HEAD -> master, origin/master, origin/HEAD)
Merge: 3581619 6da0af6
Author: Max Halford <[email protected]>
Date:   Mon Apr 5 11:12:42 2021 +0200

    Merge pull request #52 from spakin/master

bash-3.2$

Looks like the precision is a little off in the assertion.

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