# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="it refuses to measure when the check is red|readOptions takes the least value" test/mutate.test.mjs
# defect: lib/mutate.mjs:21 number: 300 becomes 301
# exit: 1
# digest: 0a598ccc84a60de0
FAIL  mutate-options. a planted defect made the check fail at lib/mutate.mjs:21: number: 300 becomes 301 (exit 1)
✖ readOptions takes the least value of each number, refuses one below it with the name of the option, and a percent from 0 to 100 (1.85275ms)
✔ it refuses to measure when the check is red as it is, and when it is asked for what it cannot do, and writes nothing (16467.101542ms)
ℹ tests 2
ℹ suites 0
ℹ pass 1
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 17302.298458

✖ failing tests:

test at test/mutate.test.mjs:256:1
✖ readOptions takes the least value of each number, refuses one below it with the name of the option, and a percent from 0 to 100 (1.85275ms)
  AssertionError [ERR_ASSERTION]: what a call without options plants and how
  + actual - expected
  
    {
      jobs: 1,
  +   max: 301,
  -   max: 300,
      seed: 1,
      timeoutSec: null
    }
  
      at TestContext.<anonymous> (file://<project>/test/mutate.test.mjs:257:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.start (node:internal/test_runner/test:1262:17)
      at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: { max: 301, seed: 1, jobs: 1, timeoutSec: null },
    expected: { max: 300, seed: 1, jobs: 1, timeoutSec: null },
    operator: 'deepStrictEqual',
    diff: 'simple'
  }
