test: do not hard code some array sizes

19 jobs for !632 with test in 43 minutes and 5 seconds (queued for 6 minutes and 43 seconds)
detached
Status Job ID Name Coverage
  Build
passed android-arm #771020
amd64 docker

00:03:01

passed android-arm64 #771021
amd64 docker

00:03:08

passed android-x86 #771022
amd64 docker

00:02:32

passed android-x86_64 #771023
amd64 docker

00:02:28

passed debian #771011
amd64 docker

00:04:45

passed ios-arm64 #771016
catalina amd64

00:09:20

passed ios-armv7 #771017
catalina amd64

00:05:13

passed ios-simulator-x86_64 #771018
catalina amd64

00:05:15

passed macos-arm64 #771015
catalina amd64

00:10:12

passed macos-x86_64 #771014
catalina amd64

00:12:52

passed raspbian-arm #771013
amd64 docker

00:07:32

passed snap #771012
amd64 docker

00:10:14

passed tvos-arm64 #771019
catalina amd64

00:06:27

passed uwp-arm64-libvlc-llvm #771010
amd64 docker

00:03:00

passed uwp64-libvlc-llvm #771009
amd64 docker

00:03:07

passed wasm32-emscripten-build #771024
amd64 docker

00:05:27

passed win32 #771006
amd64 docker

00:03:19

passed win64 #771007
amd64 docker

00:07:09

passed win64-llvm #771008
amd64 docker

00:03:45