Skip to content

新增函数: Sattolo shuffle algorithm #245

新增函数: Sattolo shuffle algorithm

新增函数: Sattolo shuffle algorithm #245

Triggered via pull request August 6, 2024 16:45
Status Failure
Total duration 40s
Artifacts

tests.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should move every element to a new position: lib/array/sattoloShuffle.test.js#L38
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ lib/array/sattoloShuffle.test.js:38:65
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should produce different permutations: lib/array/sattoloShuffle.test.js#L50
AssertionError: expected 1 to be greater than 23 ❯ lib/array/sattoloShuffle.test.js:50:35
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should use Math.random: lib/array/sattoloShuffle.test.js#L64
AssertionError: expected "spy" to be called at least once ❯ lib/array/sattoloShuffle.test.js:64:29
build (18.x)
Process completed with exit code 1.
build (22.x)
The job was canceled because "_18_x" failed.
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should move every element to a new position: lib/array/sattoloShuffle.test.js#L38
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ lib/array/sattoloShuffle.test.js:38:65
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should produce different permutations: lib/array/sattoloShuffle.test.js#L50
AssertionError: expected 1 to be greater than 23 ❯ lib/array/sattoloShuffle.test.js:50:35
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should use Math.random: lib/array/sattoloShuffle.test.js#L64
AssertionError: expected "spy" to be called at least once ❯ lib/array/sattoloShuffle.test.js:64:29
build (22.x)
Process completed with exit code 1.
build (20.x)
The job was canceled because "_18_x" failed.
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should move every element to a new position: lib/array/sattoloShuffle.test.js#L38
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ lib/array/sattoloShuffle.test.js:38:65
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should produce different permutations: lib/array/sattoloShuffle.test.js#L50
AssertionError: expected 1 to be greater than 23 ❯ lib/array/sattoloShuffle.test.js:50:35
lib/array/sattoloShuffle.test.js > yd_array_sattoloShuffle Sattolo shuffle algorithm > should use Math.random: lib/array/sattoloShuffle.test.js#L64
AssertionError: expected "spy" to be called at least once ❯ lib/array/sattoloShuffle.test.js:64:29
build (20.x)
Process completed with exit code 1.