owned this note
owned this note
Published
Linked with GitHub
```yaml
title: Shuffling Algorithm Tests
summary: Test vectors for shuffling a list based upon a seed.
test_suite: Shuffling
test_cases:
- input: []
output: []
seed: !!binary ""
- input: [0]
output: [0]
seed: !!binary ""
- input: [255]
output: [255]
seed: !!binary ""
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [1, 6, 4, 1, 6, 6, 2, 2, 4, 5]
seed: !!binary ""
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [4, 7, 10, 13, 3, 1, 2, 9, 12, 6, 11, 8, 5]
seed: !!binary ""
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [1, 6, 65, 1, 6, 6, 2, 2, 4, 5]
seed: !!binary ""
- input: []
output: []
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: [0]
output: [0]
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: [255]
output: [255]
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 4, 2, 5, 4, 2, 6, 6, 1, 1]
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [13, 1, 9, 8, 3, 10, 6, 2, 5, 12, 11, 4, 7]
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 65, 2, 5, 4, 2, 6, 6, 1, 1]
seed: !!binary |
JlAYJ5H2j8g7PLiPHZI/rTS1uAvKiieOrifPN6Moso0=
- input: []
output: []
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: [0]
output: [0]
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: [255]
output: [255]
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 5, 1, 6, 4, 1, 2, 4, 6]
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [3, 8, 10, 4, 7, 11, 6, 1, 2, 5, 13, 9, 12]
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 5, 1, 6, 4, 1, 2, 65, 6]
seed: !!binary |
Jlpt1sTgPixEqKaQaX4rmZgxnh48U7igzJK1EjAkK0Q=
- input: []
output: []
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: [0]
output: [0]
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: [255]
output: [255]
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [5, 6, 2, 1, 6, 4, 6, 4, 1, 2]
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [12, 4, 11, 6, 13, 10, 9, 2, 3, 7, 8, 1, 5]
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [5, 6, 2, 1, 6, 65, 6, 4, 1, 2]
seed: !!binary |
zoulKyFpZkZG9AaUh1zxxcQ+unrNxwux10Svi4eBMmA=
- input: []
output: []
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: [0]
output: [0]
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: [255]
output: [255]
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 6, 5, 4, 4, 1, 6, 2, 1]
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [10, 12, 13, 3, 7, 11, 2, 4, 9, 8, 6, 5, 1]
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 6, 5, 65, 4, 1, 6, 2, 1]
seed: !!binary |
3gEwWl7gY5XRPg5iZgowSp9hyk4Sf/u92B+t88JdAEw=
- input: []
output: []
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: [0]
output: [0]
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: [255]
output: [255]
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 4, 1, 2, 6, 5, 1, 6, 4]
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [11, 8, 12, 9, 2, 1, 10, 4, 13, 5, 7, 3, 6]
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [6, 2, 65, 1, 2, 6, 5, 1, 6, 4]
seed: !!binary |
mHQhqYMuvHeBZNa6VLLs3lZiqD1jWKP0cRzntvM5N+U=
- input: []
output: []
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
- input: [0]
output: [0]
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
- input: [255]
output: [255]
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
- input: [4, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [2, 5, 1, 6, 1, 2, 6, 6, 4, 4]
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
- input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
output: [5, 13, 9, 7, 11, 10, 12, 2, 6, 8, 3, 1, 4]
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
- input: [65, 6, 2, 6, 1, 4, 6, 2, 1, 5]
output: [2, 5, 1, 6, 1, 2, 6, 6, 65, 4]
seed: !!binary |
/1mYGDx96+OeS3HV1avIeE/pPQROpuhSjAj+t+H59DE=
```