eaopt icon indicating copy to clipboard operation
eaopt copied to clipboard

Tests are failing

Open JensRantil opened this issue 2 years ago • 0 comments

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.

JensRantil avatar Dec 22 '23 13:12 JensRantil