0s autopkgtest [05:14:34]: starting date and time: 2026-02-10 05:14:34+0000 0s autopkgtest [05:14:34]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [05:14:34]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1tcrfpql/out --timeout-copy=6000 --needs-internet=try -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-concurrent --apt-upgrade ruby-hamster --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-concurrent/1.3.6-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-22.secgroup --name adt-resolute-i386-ruby-hamster-20260210-051434-juju-7f2275-prod-proposed-migration-environment-15-5f23e690-bc44-45d2-8a87-90e061862b1f --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-ruby-hamster-20260210-051434-juju-7f2275-prod-proposed-migration-environment-15-5f23e690-bc44-45d2-8a87-90e061862b1f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 74s autopkgtest [05:15:48]: testbed dpkg architecture: amd64 74s autopkgtest [05:15:48]: testbed apt version: 3.1.14 75s autopkgtest [05:15:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 75s autopkgtest [05:15:49]: testbed release detected to be: None 75s autopkgtest [05:15:49]: updating testbed package index (apt update) 76s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 76s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 76s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 76s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 76s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 76s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 76s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 76s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [219 kB] 76s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [266 kB] 76s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6184 B] 76s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 76s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [792 kB] 76s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1787 kB] 76s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [32.5 kB] 76s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [5020 B] 76s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [26.4 kB] 76s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 77s Fetched 5197 kB in 1s (6881 kB/s) 77s Reading package lists... 78s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 78s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 78s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 78s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 79s Reading package lists... 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Calculating upgrade... 79s The following package was automatically installed and is no longer required: 79s libpython3.13 79s Use 'sudo apt autoremove' to remove it. 79s The following NEW packages will be installed: 79s gcc-16-base libpython3.14 libpython3.14-minimal libpython3.14-stdlib 79s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 79s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 79s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 79s The following packages will be upgraded: 79s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static 79s cryptsetup-bin dash dbus dbus-bin dbus-daemon dbus-session-bus-common 79s dbus-system-bus-common dbus-user-session debianutils dmsetup dracut-install 79s ethtool findutils gir1.2-girepository-3.0 gir1.2-glib-2.0 hwdata iproute2 79s iptables less libapt-pkg7.0 libatomic1 libattr1 libbpf1 libbrotli1 libbsd0 79s libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common 79s libdrm2 libevent-core-2.1-7t64 libgcc-s1 libgdbm-compat4t64 libgdbm6t64 79s libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 79s libidn2-0 libip4tc2 libip6tc2 libjansson4 libkeyutils1 liblsof0 79s libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 libonig5 libpcap0.8t64 79s libpci3 libsensors-config libsensors5 libstdc++6 libusb-1.0-0 libwrap0 79s libxau6 libxkbcommon0 libxtables12 linux-generic linux-headers-generic 79s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 79s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 79s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 79s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard wget 79s 91 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 79s Need to get 237 MB of archives. 79s After this operation, 339 MB of additional disk space will be used. 79s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 79s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 79s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 80s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 80s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 80s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 80s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-16-base amd64 16-20260208-1ubuntu1 [59.7 kB] 80s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-s1 amd64 16-20260208-1ubuntu1 [80.3 kB] 80s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 80s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 80s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++6 amd64 16-20260208-1ubuntu1 [844 kB] 80s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 80s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 80s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-system-bus-common all 1.16.2-2ubuntu3 [55.8 kB] 80s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-session-bus-common all 1.16.2-2ubuntu3 [54.4 kB] 80s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-user-session amd64 1.16.2-2ubuntu3 [9696 B] 80s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-daemon amd64 1.16.2-2ubuntu3 [119 kB] 80s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-bin amd64 1.16.2-2ubuntu3 [40.1 kB] 80s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus amd64 1.16.2-2ubuntu3 [24.2 kB] 80s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdbus-1-3 amd64 1.16.2-2ubuntu3 [185 kB] 80s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 80s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 80s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 80s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 80s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 80s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libatomic1 amd64 16-20260208-1ubuntu1 [11.4 kB] 80s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 80s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 80s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 80s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 iptables amd64 1.8.11-2ubuntu3 [381 kB] 80s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libip4tc2 amd64 1.8.11-2ubuntu3 [24.2 kB] 80s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libip6tc2 amd64 1.8.11-2ubuntu3 [24.4 kB] 80s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 80s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libxtables12 amd64 1.8.11-2ubuntu3 [36.6 kB] 80s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 iproute2 amd64 6.18.0-1ubuntu1 [1178 kB] 80s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 80s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libcryptsetup12 amd64 2:2.8.0-1ubuntu3 [283 kB] 80s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 80s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 80s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 80s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 80s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 80s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 80s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 81s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 81s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 81s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 81s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 81s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libjansson4 amd64 2.14-2build4 [33.2 kB] 81s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 81s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 81s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 81s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 81s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 81s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 81s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 81s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 81s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 81s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 81s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 81s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 81s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 81s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 wget amd64 1.25.0-2ubuntu4 [353 kB] 81s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 81s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 81s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 81s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 81s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 cryptsetup-bin amd64 2:2.8.0-1ubuntu3 [228 kB] 81s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 dracut-install amd64 109-11ubuntu1 [45.8 kB] 81s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 81s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 81s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 libbrotli1 amd64 1.2.0-3 [343 kB] 81s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 81s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 81s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 81s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 81s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 81s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 82s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 82s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 82s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 82s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 83s Get:83 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 91s Get:84 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 92s Get:85 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 92s Get:86 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 92s Get:87 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 92s Get:88 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 92s Get:89 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 92s Get:90 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 92s Get:91 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 93s Get:92 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 93s Get:93 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 93s Get:94 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 94s Get:95 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 94s Get:96 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 94s Get:97 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 94s Get:98 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 94s Get:99 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 94s Get:100 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 94s Get:101 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 94s dpkg-preconfigure: unable to re-open stdin: No such file or directory 94s Fetched 237 MB in 14s (16.4 MB/s) 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 94s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 94s Setting up debianutils (5.23.2build1) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 94s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 94s Setting up dash (0.5.12-12ubuntu3) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 94s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 94s Setting up findutils (4.10.0-3build2) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 94s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 94s Setting up sed (4.9-2build3) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 94s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 94s Setting up tar (1.35+dfsg-3.1build2) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 94s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 94s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 94s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 95s Selecting previously unselected package gcc-16-base:amd64. 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83957 files and directories currently installed.) 95s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_amd64.deb ... 95s Unpacking gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 95s Setting up gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83962 files and directories currently installed.) 95s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_amd64.deb ... 95s Unpacking libgcc-s1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 95s Setting up libgcc-s1:amd64 (16-20260208-1ubuntu1) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83962 files and directories currently installed.) 95s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 95s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 95s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 95s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 95s Preparing to unpack .../02-libstdc++6_16-20260208-1ubuntu1_amd64.deb ... 95s Unpacking libstdc++6:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 95s Preparing to unpack .../03-libapt-pkg7.0_3.1.15_amd64.deb ... 95s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 95s Preparing to unpack .../04-apt_3.1.15_amd64.deb ... 95s Unpacking apt (3.1.15) over (3.1.14) ... 95s Preparing to unpack .../05-dbus-system-bus-common_1.16.2-2ubuntu3_all.deb ... 95s Unpacking dbus-system-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../06-dbus-session-bus-common_1.16.2-2ubuntu3_all.deb ... 95s Unpacking dbus-session-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../07-dbus-user-session_1.16.2-2ubuntu3_amd64.deb ... 95s Unpacking dbus-user-session (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../08-dbus-daemon_1.16.2-2ubuntu3_amd64.deb ... 95s Unpacking dbus-daemon (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../09-dbus-bin_1.16.2-2ubuntu3_amd64.deb ... 95s Unpacking dbus-bin (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../10-dbus_1.16.2-2ubuntu3_amd64.deb ... 95s Unpacking dbus (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../11-libdbus-1-3_1.16.2-2ubuntu3_amd64.deb ... 95s Unpacking libdbus-1-3:amd64 (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 95s Preparing to unpack .../12-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 95s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 95s Preparing to unpack .../13-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 95s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 95s Preparing to unpack .../14-ethtool_1%3a6.15-3build1_amd64.deb ... 95s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 95s Preparing to unpack .../15-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 95s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 95s Preparing to unpack .../16-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 95s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 95s Preparing to unpack .../17-libatomic1_16-20260208-1ubuntu1_amd64.deb ... 95s Unpacking libatomic1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 95s Preparing to unpack .../18-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 95s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 95s Preparing to unpack .../19-libglib2.0-0t64_2.87.2-2_amd64.deb ... 95s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 95s Preparing to unpack .../20-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 95s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 96s Preparing to unpack .../21-iptables_1.8.11-2ubuntu3_amd64.deb ... 96s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 96s Preparing to unpack .../22-libip4tc2_1.8.11-2ubuntu3_amd64.deb ... 96s Unpacking libip4tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 96s Preparing to unpack .../23-libip6tc2_1.8.11-2ubuntu3_amd64.deb ... 96s Unpacking libip6tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 96s Preparing to unpack .../24-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 96s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 96s Preparing to unpack .../25-libxtables12_1.8.11-2ubuntu3_amd64.deb ... 96s Unpacking libxtables12:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 96s Preparing to unpack .../26-iproute2_6.18.0-1ubuntu1_amd64.deb ... 96s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 96s Preparing to unpack .../27-less_668-1build1_amd64.deb ... 96s Unpacking less (668-1build1) over (668-1) ... 96s Preparing to unpack .../28-libcryptsetup12_2%3a2.8.0-1ubuntu3_amd64.deb ... 96s Unpacking libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 96s Preparing to unpack .../29-libglib2.0-data_2.87.2-2_all.deb ... 96s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 96s Preparing to unpack .../30-libidn2-0_2.3.8-4build1_amd64.deb ... 96s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 96s Preparing to unpack .../31-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 96s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 96s Preparing to unpack .../32-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 96s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 96s Preparing to unpack .../33-python3-markdown-it_3.0.0-3build1_all.deb ... 96s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 96s Preparing to unpack .../34-shared-mime-info_2.4-5build3_amd64.deb ... 96s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 96s Preparing to unpack .../35-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 96s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 96s Preparing to unpack .../36-libdrm-common_2.4.131-1_all.deb ... 96s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 96s Preparing to unpack .../37-libdrm2_2.4.131-1_amd64.deb ... 96s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 96s Preparing to unpack .../38-libgdbm6t64_1.26-1build1_amd64.deb ... 96s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 96s Preparing to unpack .../39-libgpm2_1.20.7-12build1_amd64.deb ... 96s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 96s Preparing to unpack .../40-libjansson4_2.14-2build4_amd64.deb ... 96s Unpacking libjansson4:amd64 (2.14-2build4) over (2.14-2build3) ... 96s Preparing to unpack .../41-lsof_4.99.4+dfsg-2build2_amd64.deb ... 96s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 97s Preparing to unpack .../42-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 97s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 97s Preparing to unpack .../43-libmaxminddb0_1.12.2-1build2_amd64.deb ... 97s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 97s Preparing to unpack .../44-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 97s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 97s Preparing to unpack .../45-pciutils_1%3a3.14.0-1build2_amd64.deb ... 97s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 97s Preparing to unpack .../46-libpci3_1%3a3.14.0-1build2_amd64.deb ... 97s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 97s Preparing to unpack .../47-libsensors-config_1%3a3.6.2-2build1_all.deb ... 97s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 97s Preparing to unpack .../48-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 97s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 97s Preparing to unpack .../49-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 97s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 97s Preparing to unpack .../50-libxau6_1%3a1.0.11-1build2_amd64.deb ... 97s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 97s Preparing to unpack .../51-libxkbcommon0_1.13.1-1_amd64.deb ... 97s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 97s Preparing to unpack .../52-man-db_2.13.1-1build1_amd64.deb ... 97s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 97s Preparing to unpack .../53-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 97s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 97s Preparing to unpack .../54-wget_1.25.0-2ubuntu4_amd64.deb ... 97s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 97s Preparing to unpack .../55-ubuntu-standard_1.564_amd64.deb ... 97s Unpacking ubuntu-standard (1.564) over (1.563) ... 97s Preparing to unpack .../56-3cpio_0.14.0-1ubuntu1_amd64.deb ... 97s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 97s Preparing to unpack .../57-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 97s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 97s Preparing to unpack .../58-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 97s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 97s Preparing to unpack .../59-cryptsetup-bin_2%3a2.8.0-1ubuntu3_amd64.deb ... 97s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 97s Preparing to unpack .../60-dracut-install_109-11ubuntu1_amd64.deb ... 97s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 97s Preparing to unpack .../61-hwdata_0.394-1build1_all.deb ... 97s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 97s Preparing to unpack .../62-pnp.ids_0.394-1build1_all.deb ... 97s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 97s Preparing to unpack .../63-libbrotli1_1.2.0-3_amd64.deb ... 97s Unpacking libbrotli1:amd64 (1.2.0-3) over (1.1.0-2build6) ... 97s Preparing to unpack .../64-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 97s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 97s Preparing to unpack .../65-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 97s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 97s Preparing to unpack .../66-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 97s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 97s Preparing to unpack .../67-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 97s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 97s Preparing to unpack .../68-libnpth0t64_1.8-3build1_amd64.deb ... 97s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 97s Preparing to unpack .../69-libonig5_6.9.10-1build1_amd64.deb ... 97s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 97s Selecting previously unselected package libpython3.14-minimal:amd64. 97s Preparing to unpack .../70-libpython3.14-minimal_3.14.2-1_amd64.deb ... 97s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 97s Selecting previously unselected package libpython3.14-stdlib:amd64. 97s Preparing to unpack .../71-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 97s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 98s Selecting previously unselected package libpython3.14:amd64. 98s Preparing to unpack .../72-libpython3.14_3.14.2-1_amd64.deb ... 98s Unpacking libpython3.14:amd64 (3.14.2-1) ... 98s Preparing to unpack .../73-libwrap0_7.6.q-36build2_amd64.deb ... 98s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 98s Selecting previously unselected package linux-modules-6.19.0-3-generic. 98s Preparing to unpack .../74-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 98s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 98s Selecting previously unselected package linux-image-6.19.0-3-generic. 98s Preparing to unpack .../75-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 98s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 99s Preparing to unpack .../76-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 99s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 99s Preparing to unpack .../77-linux-generic_6.19.0-3.3_amd64.deb ... 99s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 99s Preparing to unpack .../78-linux-image-generic_6.19.0-3.3_amd64.deb ... 99s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 99s Preparing to unpack .../79-linux-virtual_6.19.0-3.3_amd64.deb ... 99s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 99s Preparing to unpack .../80-linux-image-virtual_6.19.0-3.3_amd64.deb ... 99s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 99s Preparing to unpack .../81-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 99s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 99s Selecting previously unselected package linux-headers-6.19.0-3. 99s Preparing to unpack .../82-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 99s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 100s Selecting previously unselected package linux-headers-6.19.0-3-generic. 100s Preparing to unpack .../83-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 100s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 100s Preparing to unpack .../84-linux-headers-generic_6.19.0-3.3_amd64.deb ... 100s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 101s Preparing to unpack .../85-linux-perf_6.19.0-3.3_amd64.deb ... 101s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 101s Preparing to unpack .../86-linux-tools-common_6.19.0-3.3_all.deb ... 101s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 101s Selecting previously unselected package linux-tools-6.19.0-3. 101s Preparing to unpack .../87-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 101s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 101s Selecting previously unselected package linux-tools-6.19.0-3-generic. 101s Preparing to unpack .../88-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 101s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 101s Preparing to unpack .../89-patch_2.8-2build1_amd64.deb ... 101s Unpacking patch (2.8-2build1) over (2.8-2) ... 101s Preparing to unpack .../90-pollinate_4.33-4ubuntu5_all.deb ... 101s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 101s Preparing to unpack .../91-python3-referencing_0.36.2-1ubuntu2_all.deb ... 101s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 101s Preparing to unpack .../92-ubuntu-kernel-accessories_1.564_amd64.deb ... 101s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 101s Setting up libip4tc2:amd64 (1.8.11-2ubuntu3) ... 101s Setting up 3cpio (0.14.0-1ubuntu1) ... 101s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 101s Setting up libnpth0t64:amd64 (1.8-3build1) ... 101s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 101s Setting up ubuntu-kernel-accessories (1.564) ... 101s Setting up libgpm2:amd64 (1.20.7-12build1) ... 101s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 101s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 102s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 102s Setting up bpftool (7.7.0+6.19.0-3.3) ... 102s Setting up libip6tc2:amd64 (1.8.11-2ubuntu3) ... 102s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 102s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 102s Setting up libbrotli1:amd64 (1.2.0-3) ... 102s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 102s Setting up libsensors-config (1:3.6.2-2build1) ... 102s Setting up less (668-1build1) ... 102s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 102s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 102s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 102s amd64-microcode: microcode will be updated at next boot 102s Setting up man-db (2.13.1-1build1) ... 102s Updating database of manual pages ... 104s man-db.service is a disabled or a static unit not running, not starting it. 104s Setting up libjansson4:amd64 (2.14-2build4) ... 104s Setting up libglib2.0-data (2.87.2-2) ... 104s Setting up pollinate (4.33-4ubuntu5) ... 114s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 114s Setting up libwrap0:amd64 (7.6.q-36build2) ... 114s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 115s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 115s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 115s Setting up libdbus-1-3:amd64 (1.16.2-2ubuntu3) ... 115s Setting up libatomic1:amd64 (16-20260208-1ubuntu1) ... 115s Setting up patch (2.8-2build1) ... 115s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 115s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 115s Setting up libxtables12:amd64 (1.8.11-2ubuntu3) ... 115s Setting up lsof (4.99.4+dfsg-2build2) ... 115s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 115s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 115s Setting up dracut-install (109-11ubuntu1) ... 115s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 115s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 115s Setting up pnp.ids (0.394-1build1) ... 115s Setting up dbus-session-bus-common (1.16.2-2ubuntu3) ... 115s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 115s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 115s Setting up libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) ... 115s Setting up mawk (1.3.4.20260129-1) ... 115s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 115s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 115s Setting up linux-image-virtual (6.19.0-3.3) ... 115s Setting up dbus-system-bus-common (1.16.2-2ubuntu3) ... 115s Setting up libbsd0:amd64 (0.12.2-2build2) ... 115s Setting up libdrm-common (2.4.131-1) ... 115s Setting up libstdc++6:amd64 (16-20260208-1ubuntu1) ... 115s Setting up dbus-bin (1.16.2-2ubuntu3) ... 115s Setting up libonig5:amd64 (6.9.10-1build1) ... 115s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 115s Setting up ethtool (1:6.15-3build1) ... 115s Setting up python3-referencing (0.36.2-1ubuntu2) ... 116s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 116s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 116s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 116s Setting up tcpdump (4.99.5-2ubuntu3) ... 116s Setting up linux-image-generic (6.19.0-3.3) ... 116s Setting up wget (1.25.0-2ubuntu4) ... 116s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 116s Setting up iptables (1.8.11-2ubuntu3) ... 116s Setting up iproute2 (6.18.0-1ubuntu1) ... 116s Setting up linux-headers-generic (6.19.0-3.3) ... 116s Setting up dbus-daemon (1.16.2-2ubuntu3) ... 116s Setting up hwdata (0.394-1build1) ... 116s Setting up dbus-user-session (1.16.2-2ubuntu3) ... 116s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 116s No schema files found: doing nothing. 116s Setting up dbus (1.16.2-2ubuntu3) ... 116s A reboot is required to replace the running dbus-daemon. 116s Please reboot the system when convenient. 116s Setting up shared-mime-info (2.4-5build3) ... 117s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 117s Setting up pciutils (1:3.14.0-1build2) ... 117s Setting up python3-markdown-it (3.0.0-3build1) ... 117s Setting up libdrm2:amd64 (2.4.131-1) ... 117s Setting up libpython3.14:amd64 (3.14.2-1) ... 117s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 117s Setting up linux-tools-common (6.19.0-3.3) ... 117s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 117s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 117s Setting up apt (3.1.15) ... 117s Setting up linux-headers-virtual (6.19.0-3.3) ... 117s Setting up linux-generic (6.19.0-3.3) ... 117s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 117s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 117s Setting up ubuntu-standard (1.564) ... 117s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 117s Setting up linux-virtual (6.19.0-3.3) ... 117s Setting up linux-perf (6.19.0-3.3) ... 117s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 117s Processing triggers for debianutils (5.23.2build1) ... 117s Processing triggers for install-info (7.2-5) ... 117s Processing triggers for initramfs-tools (0.150ubuntu7) ... 117s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 122s Processing triggers for libc-bin (2.42-2ubuntu4) ... 122s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 122s /etc/kernel/postinst.d/initramfs-tools: 122s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 125s /etc/kernel/postinst.d/zz-update-grub: 125s Sourcing file `/etc/default/grub' 125s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 125s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 125s Generating grub configuration file ... 125s Found linux image: /boot/vmlinuz-6.19.0-3-generic 125s Found initrd image: /boot/initrd.img-6.19.0-3-generic 125s Found linux image: /boot/vmlinuz-6.18.0-9-generic 125s Found initrd image: /boot/initrd.img-6.18.0-9-generic 126s Warning: os-prober will not be executed to detect other bootable partitions. 126s Systems on them will not be added to the GRUB boot configuration. 126s Check GRUB_DISABLE_OS_PROBER documentation entry. 126s Adding boot menu entry for UEFI Firmware Settings ... 126s done 126s autopkgtest [05:16:40]: upgrading testbed (apt dist-upgrade and autopurge) 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Calculating upgrade... 127s The following package was automatically installed and is no longer required: 127s libpython3.13 127s Use 'sudo apt autoremove' to remove it. 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Solving dependencies... 127s The following packages will be REMOVED: 127s libpython3.13* 127s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 127s After this operation, 7599 kB disk space will be freed. 127s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 125273 files and directories currently installed.) 127s Removing libpython3.13:amd64 (3.13.11-1) ... 127s Processing triggers for libc-bin (2.42-2ubuntu4) ... 128s autopkgtest [05:16:42]: rebooting testbed after setup commands that affected boot 159s autopkgtest [05:17:13]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:01:24 UTC 2026 161s autopkgtest [05:17:15]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-hamster 162s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (dsc) [1465 B] 162s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (tar) [129 kB] 162s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (diff) [4880 B] 162s gpgv: Signature made Wed Jan 26 11:16:04 2022 UTC 162s gpgv: using EDDSA key 84CFFDC21520F88306EC29D152699AB63F9F2BC3 162s gpgv: Can't check signature: No public key 162s dpkg-source: warning: cannot verify inline signature for ./ruby-hamster_3.0.0-4.dsc: no acceptable signature found 162s autopkgtest [05:17:16]: testing package ruby-hamster version 3.0.0-4 163s autopkgtest [05:17:17]: build not needed 163s autopkgtest [05:17:17]: test gem2deb-test-runner: preparing testbed 163s Reading package lists... 163s Building dependency tree... 163s Reading state information... 163s Solving dependencies... 163s The following NEW packages will be installed: 163s gem2deb-test-runner libruby libruby3.3 pry rake ruby ruby-coderay 163s ruby-concurrent ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-hamster 163s ruby-method-source ruby-minitest ruby-net-telnet ruby-power-assert 163s ruby-rbtree ruby-rspec ruby-rspec-core ruby-rspec-expectations 163s ruby-rspec-mocks ruby-rspec-support ruby-ruby2-keywords ruby-rubygems 163s ruby-sorted-set ruby-test-unit ruby-webrick ruby-xmlrpc ruby3.3 163s rubygems-integration 164s 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. 164s Need to get 7700 kB of archives. 164s After this operation, 38.5 MB of additional disk space will be used. 164s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 rubygems-integration all 1.19build1 [5666 B] 164s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-csv all 3.3.4-1 [43.0 kB] 164s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 164s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 164s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 164s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-webrick all 1.9.1-1build1 [60.9 kB] 164s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 164s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby3.3 amd64 3.3.8-2ubuntu2 [5986 kB] 164s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby3.3 amd64 3.3.8-2ubuntu2 [59.0 kB] 164s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby amd64 1:3.3 [5164 B] 164s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 164s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby amd64 1:3.3 [3666 B] 164s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 rake all 13.2.1-1build1 [45.9 kB] 164s Get:14 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-minitest all 5.26.1-1 [49.3 kB] 164s Get:15 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-power-assert all 3.0.1-1 [11.4 kB] 164s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 164s Get:17 http://ftpmaster.internal/ubuntu resolute/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 164s Get:18 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-coderay all 1.1.3-8build1 [78.4 kB] 164s Get:19 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-method-source all 1.1.0-1 [8502 B] 164s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 pry all 0.15.2-1 [122 kB] 164s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 ruby-concurrent all 1.3.6-1 [284 kB] 164s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 164s Get:23 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-hamster all 3.0.0-4 [43.0 kB] 164s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rbtree amd64 0.4.6-1build3 [23.5 kB] 164s Get:25 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 164s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 164s Get:27 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 164s Get:28 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 164s Get:29 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 164s Get:30 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-sorted-set all 1.0.3-3 [4258 B] 164s Fetched 7700 kB in 0s (26.3 MB/s) 164s Selecting previously unselected package rubygems-integration. 164s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 125269 files and directories currently installed.) 164s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 164s Unpacking rubygems-integration (1.19build1) ... 164s Selecting previously unselected package ruby-csv. 164s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 164s Unpacking ruby-csv (3.3.4-1) ... 164s Selecting previously unselected package ruby-did-you-mean. 164s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 164s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 164s Selecting previously unselected package ruby-net-telnet. 164s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 164s Unpacking ruby-net-telnet (0.2.0-1build1) ... 164s Selecting previously unselected package ruby-ruby2-keywords. 164s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 164s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 164s Selecting previously unselected package ruby-webrick. 164s Preparing to unpack .../05-ruby-webrick_1.9.1-1build1_all.deb ... 164s Unpacking ruby-webrick (1.9.1-1build1) ... 164s Selecting previously unselected package ruby-xmlrpc. 164s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 164s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 164s Selecting previously unselected package libruby3.3:amd64. 164s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu2_amd64.deb ... 164s Unpacking libruby3.3:amd64 (3.3.8-2ubuntu2) ... 164s Selecting previously unselected package ruby3.3. 164s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu2_amd64.deb ... 164s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 164s Selecting previously unselected package libruby:amd64. 164s Preparing to unpack .../09-libruby_1%3a3.3_amd64.deb ... 164s Unpacking libruby:amd64 (1:3.3) ... 164s Selecting previously unselected package ruby-rubygems. 164s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 164s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 164s Selecting previously unselected package ruby. 164s Preparing to unpack .../11-ruby_1%3a3.3_amd64.deb ... 164s Unpacking ruby (1:3.3) ... 164s Selecting previously unselected package rake. 164s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 164s Unpacking rake (13.2.1-1build1) ... 164s Selecting previously unselected package ruby-minitest. 164s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 164s Unpacking ruby-minitest (5.26.1-1) ... 164s Selecting previously unselected package ruby-power-assert. 164s Preparing to unpack .../14-ruby-power-assert_3.0.1-1_all.deb ... 164s Unpacking ruby-power-assert (3.0.1-1) ... 164s Selecting previously unselected package ruby-test-unit. 165s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 165s Unpacking ruby-test-unit (3.6.2-1) ... 165s Selecting previously unselected package gem2deb-test-runner. 165s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_amd64.deb ... 165s Unpacking gem2deb-test-runner (2.2.5) ... 165s Selecting previously unselected package ruby-coderay. 165s Preparing to unpack .../17-ruby-coderay_1.1.3-8build1_all.deb ... 165s Unpacking ruby-coderay (1.1.3-8build1) ... 165s Selecting previously unselected package ruby-method-source. 165s Preparing to unpack .../18-ruby-method-source_1.1.0-1_all.deb ... 165s Unpacking ruby-method-source (1.1.0-1) ... 165s Selecting previously unselected package pry. 165s Preparing to unpack .../19-pry_0.15.2-1_all.deb ... 165s Unpacking pry (0.15.2-1) ... 165s Selecting previously unselected package ruby-concurrent. 165s Preparing to unpack .../20-ruby-concurrent_1.3.6-1_all.deb ... 165s Unpacking ruby-concurrent (1.3.6-1) ... 165s Selecting previously unselected package ruby-diff-lcs. 165s Preparing to unpack .../21-ruby-diff-lcs_1.5.1-1_all.deb ... 165s Unpacking ruby-diff-lcs (1.5.1-1) ... 165s Selecting previously unselected package ruby-hamster. 165s Preparing to unpack .../22-ruby-hamster_3.0.0-4_all.deb ... 165s Unpacking ruby-hamster (3.0.0-4) ... 165s Selecting previously unselected package ruby-rbtree. 165s Preparing to unpack .../23-ruby-rbtree_0.4.6-1build3_amd64.deb ... 165s Unpacking ruby-rbtree (0.4.6-1build3) ... 165s Selecting previously unselected package ruby-rspec-support. 165s Preparing to unpack .../24-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 165s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 165s Selecting previously unselected package ruby-rspec-core. 165s Preparing to unpack .../25-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 165s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 165s Selecting previously unselected package ruby-rspec-expectations. 165s Preparing to unpack .../26-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 165s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 165s Selecting previously unselected package ruby-rspec-mocks. 165s Preparing to unpack .../27-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 165s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 165s Selecting previously unselected package ruby-rspec. 165s Preparing to unpack .../28-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 165s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 165s Selecting previously unselected package ruby-sorted-set. 165s Preparing to unpack .../29-ruby-sorted-set_1.0.3-3_all.deb ... 165s Unpacking ruby-sorted-set (1.0.3-3) ... 165s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 165s Setting up ruby-power-assert (3.0.1-1) ... 165s Setting up rubygems-integration (1.19build1) ... 165s Setting up ruby-concurrent (1.3.6-1) ... 165s Setting up ruby-minitest (5.26.1-1) ... 165s Setting up ruby-method-source (1.1.0-1) ... 165s Setting up ruby-hamster (3.0.0-4) ... 165s Setting up ruby-test-unit (3.6.2-1) ... 165s Setting up ruby-net-telnet (0.2.0-1build1) ... 165s Setting up ruby-csv (3.3.4-1) ... 165s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 165s Setting up ruby-webrick (1.9.1-1build1) ... 165s Setting up ruby-did-you-mean (1.6.3-2build1) ... 165s Setting up ruby-xmlrpc (0.3.3-2build1) ... 165s Setting up rake (13.2.1-1build1) ... 165s Setting up libruby3.3:amd64 (3.3.8-2ubuntu2) ... 165s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 165s Setting up libruby:amd64 (1:3.3) ... 165s Setting up ruby (1:3.3) ... 165s Setting up ruby-rbtree (0.4.6-1build3) ... 165s Setting up ruby-coderay (1.1.3-8build1) ... 165s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 165s Setting up pry (0.15.2-1) ... 165s Setting up ruby-diff-lcs (1.5.1-1) ... 165s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 165s Setting up ruby-sorted-set (1.0.3-3) ... 165s Setting up gem2deb-test-runner (2.2.5) ... 165s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 165s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 165s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 165s Processing triggers for libc-bin (2.42-2ubuntu4) ... 165s Processing triggers for man-db (2.13.1-1build1) ... 166s autopkgtest [05:17:20]: test environment configured for cross building 166s autopkgtest [05:17:20]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 166s autopkgtest [05:17:20]: test gem2deb-test-runner: [----------------------- 166s 166s ┌──────────────────────────────────────────────────────────────────────────────┐ 166s │ Checking Rubygems dependency resolution on ruby3.3 │ 166s └──────────────────────────────────────────────────────────────────────────────┘ 166s 166s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"hamster\" 166s mv lib ./.gem2deb.lib 166s mv ./.gem2deb.lib lib 166s 166s ┌──────────────────────────────────────────────────────────────────────────────┐ 166s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 166s └──────────────────────────────────────────────────────────────────────────────┘ 166s 166s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 166s mv lib ./.gem2deb.lib 167s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation 167s 167s Hamster::Associable 167s #update_in 167s with one level on existing key 167s Hash passes the value to the block 167s Vector passes the value to the block 167s Hash replaces the value with the result of the block 167s Vector replaces the value with the result of the block 167s Hash should preserve the original 167s Vector should preserve the original 167s with multi-level on existing keys 167s Hash passes the value to the block 167s Vector passes the value to the block 167s Hash replaces the value with the result of the block 167s Vector replaces the value with the result of the block 167s Hash should preserve the original 167s Vector should preserve the original 167s with multi-level creating sub-hashes when keys don't exist 167s Hash passes nil to the block 167s Vector passes nil to the block 167s Hash creates subhashes on the way to set the value 167s Vector creates subhashes on the way to set the value 167s Hash with multi-level including Vector with existing keys 167s passes the value to the block 167s replaces the value with the result of the block 167s should preserve the original 167s Vector with multi-level including Hash with existing keys 167s passes the value to the block 167s replaces the value with the result of the block 167s should preserve the original 167s with empty key_path 167s Hash raises ArguemntError 167s Vector raises ArguemntError 167s 167s Array 167s #to_list 167s returns an equivalent hamster list 167s 167s Enumerable 167s #to_list 167s returns an equivalent list 167s works on Ranges 167s 167s IO 167s #to_list 167s with a File 167s returns an equivalent list 167s with a StringIO 167s returns an equivalent list 167s 167s Hamster::Deque 167s #clear 167s on [] 167s preserves the original 167s returns an empty deque 167s on ["A"] 167s preserves the original 167s returns an empty deque 167s on ["A", "B", "C"] 167s preserves the original 167s returns an empty deque 167s from a subclass 167s returns an instance of the subclass 167s 167s Hamster::Deque 167s .[] 167s with no arguments 167s always returns the same instance 167s returns an empty, frozen deque 167s with a number of items 167s always returns a different instance 167s is the same as repeatedly using #endeque 167s 167s Hamster::Deque 167s on [] 167s returns self 167s on ["A"] 167s returns self 167s on ["A", "B", "C"] 167s returns self 167s on [] 167s returns self 167s on ["A"] 167s returns self 167s on ["A", "B", "C"] 167s returns self 167s 167s Hamster::Deque 167s #dequeue 167s on [] 167s preserves the original 167s returns [] 167s on ["A"] 167s preserves the original 167s returns [] 167s on ["A", "B", "C"] 167s preserves the original 167s returns ["B", "C"] 167s on empty subclass 167s returns emtpy object of same class 167s #shift 167s on [] 167s preserves the original 167s returns [] 167s on ["A"] 167s preserves the original 167s returns [] 167s on ["A", "B", "C"] 167s preserves the original 167s returns ["B", "C"] 167s on empty subclass 167s returns emtpy object of same class 167s 167s Hamster::Deque 167s #empty? 167s on [] 167s returns true 167s on ["A"] 167s returns false 167s on ["A", "B", "C"] 167s returns false 167s after dedequeing an item from ["A", "B", "C"] 167s returns false 167s .empty 167s returns the canonical empty deque 167s from a subclass 167s returns an empty instance of the subclass 167s 167s Hamster::Deque 167s #enqueue 167s on [] with "A" 167s preserves the original 167s returns ["A"] 167s on ["A"] with "B" 167s preserves the original 167s returns ["A", "B"] 167s on ["A"] with "A" 167s preserves the original 167s returns ["A", "A"] 167s on ["A", "B", "C"] with "D" 167s preserves the original 167s returns ["A", "B", "C", "D"] 167s #push 167s on [] with "A" 167s preserves the original 167s returns ["A"] 167s on ["A"] with "B" 167s preserves the original 167s returns ["A", "B"] 167s on ["A"] with "A" 167s preserves the original 167s returns ["A", "A"] 167s on ["A", "B", "C"] with "D" 167s preserves the original 167s returns ["A", "B", "C", "D"] 167s 167s Hamster::Deque 167s #first 167s on [] 167s returns nil 167s on ["A"] 167s returns "A" 167s on ["A", "B", "C"] 167s returns "A" 167s 167s Hamster::Deque 167s #inspect 167s on [] 167s returns "Hamster::Deque[]" 167s returns a string which can be eval'd to get an equivalent object 167s on ["A"] 167s returns "Hamster::Deque[\"A\"]" 167s returns a string which can be eval'd to get an equivalent object 167s on ["A", "B", "C"] 167s returns "Hamster::Deque[\"A\", \"B\", \"C\"]" 167s returns a string which can be eval'd to get an equivalent object 167s 167s Hamster::Deque 167s #last 167s on [] 167s returns nil 167s on ["A"] 167s returns "A" 167s on ["A", "B", "C"] 167s returns "C" 167s 167s Hamster::Deque 167s #marshal_dump/#marshal_load 167s can survive dumping and loading into a new process 167s is still possible to push and pop items after loading 167s 167s Hamster::Deque 167s .new 167s accepts a single enumerable argument and creates a new deque 167s is amenable to overriding of #initialize 167s from a subclass 167s returns a frozen instance of the subclass 167s .[] 167s accepts a variable number of items and creates a new deque 167s 167s Hamster::Deque 167s #pop 167s on [] 167s preserves the original 167s returns [] 167s returns a frozen instance 167s on ["A"] 167s preserves the original 167s returns [] 167s returns a frozen instance 167s on ["A", "B", "C"] 167s preserves the original 167s returns ["A", "B"] 167s returns a frozen instance 167s on empty subclass 167s returns emtpy object of same class 167s 167s Hamster::Deque 167s #pretty_print 167s prints the whole Deque on one line if it fits 167s prints each item on its own line, if not 167s 167s Hamster::Deque 167s #push 167s pushing "A" into [] 167s preserves the original 167s returns ["A"] 167s returns a frozen instance 167s pushing "B" into ["A"] 167s preserves the original 167s returns ["A", "B"] 167s returns a frozen instance 167s pushing "D" into ["A", "B", "C"] 167s preserves the original 167s returns ["A", "B", "C", "D"] 167s returns a frozen instance 167s on a subclass 167s returns an object of same class 167s 167s Hamster::Deque 167s modification (using #push, #pop, #shift, and #unshift) 167s works when applied in many random combinations 167s 167s Hamster::Deque 167s #shift 167s on [] 167s preserves the original 167s returns [] 167s returns a frozen instance 167s on ["A"] 167s preserves the original 167s returns [] 167s returns a frozen instance 167s on ["A", "B", "C"] 167s preserves the original 167s returns ["B", "C"] 167s returns a frozen instance 167s 167s Hamster::Deque 167s #size 167s on [] 167s returns 0 167s on ["A"] 167s returns 1 167s on ["A", "B", "C"] 167s returns 3 167s #length 167s on [] 167s returns 0 167s on ["A"] 167s returns 1 167s on ["A", "B", "C"] 167s returns 3 167s 167s Hamster::Deque 167s #to_a 167s on [] 167s returns [] 167s returns a mutable array 167s on ["A"] 167s returns ["A"] 167s returns a mutable array 167s on ["A", "B", "C"] 167s returns ["A", "B", "C"] 167s returns a mutable array 167s #entries 167s on [] 167s returns [] 167s returns a mutable array 167s on ["A"] 167s returns ["A"] 167s returns a mutable array 167s on ["A", "B", "C"] 167s returns ["A", "B", "C"] 167s returns a mutable array 167s 167s Hamster::Deque 167s #to_ary 167s enables implicit conversion to 167s block parameters 167s method arguments 167s works with splat 167s 167s Hamster::Deque 167s #to_list 167s on [] 167s returns a list containing [] 167s on ["A"] 167s returns a list containing ["A"] 167s on ["A", "B", "C"] 167s returns a list containing ["A", "B", "C"] 167s after dedequeing an item from ["A", "B", "C"] 167s returns a list containing ["B", "C"] 167s 167s Hamster::Deque 167s #unshift 167s on [] with "A" 167s preserves the original 167s returns ["A"] 167s returns a frozen instance 167s on ["A"] with "B" 167s preserves the original 167s returns ["B", "A"] 167s returns a frozen instance 167s on ["A"] with "A" 167s preserves the original 167s returns ["A", "A"] 167s returns a frozen instance 167s on ["A", "B", "C"] with "D" 167s preserves the original 167s returns ["D", "A", "B", "C"] 167s returns a frozen instance 167s 167s Hamster::MutableSet 167s #add? 167s with a unique value 167s returns true 167s modifies the set to include the new value 167s with a duplicate value 167s returns false 167s preserves the original values 167s 167s Hamster::MutableSet 167s #add 167s with a unique value 167s returns self 167s modifies the original set to include new value 167s with a duplicate value 167s returns self 167s preserves the original values 167s 167s Hamster::MutableSet 167s #delete? 167s with an existing value 167s returns true 167s modifies the set to remove the value 167s with a non-existing value 167s returns false 167s preserves the original values 167s 167s Hamster::MutableSet 167s #delete 167s with an existing value 167s returns self 167s modifies the set to remove the value 167s with a non-existing value 167s returns self 167s preserves the original values 167s 167s Hamster::Hash 167s #all? 167s when empty 167s without a block 167s returns true 167s with a block 167s returns true 167s when not empty 167s without a block 167s returns true 167s with a block 167s returns true if the block always returns true 167s returns false if the block ever returns false 167s propagates an exception from the block 167s stops iterating as soon as the block returns false 167s 167s Hamster::Hash 167s #any? 167s when empty 167s with a block returns false 167s with no block returns false 167s when not empty 167s with a block 167s returns true if the block ever returns true (["A", "aye"]) 167s returns false if the block always returns false 167s returns true if the block ever returns true (["B", "bee"]) 167s returns false if the block always returns false 167s returns true if the block ever returns true (["C", "see"]) 167s returns false if the block always returns false 167s returns true if the block ever returns true ([nil, "NIL"]) 167s returns false if the block always returns false 167s propagates exceptions raised in the block 167s stops iterating as soon as the block returns true 167s with no block 167s returns true 167s 167s Hamster::Hash 167s #assoc 167s searches for a key/val pair with a given key 167s returns nil if a matching key is not found 167s returns nil even if there is a default 167s uses #== to compare keys with provided object 167s #rassoc 167s searches for a key/val pair with a given value 167s returns nil if a matching value is not found 167s returns nil even if there is a default 167s uses #== to compare values with provided object 167s 167s Hamster::Hash 167s #clear 167s maintains the default Proc, if there is one 167s on [] 167s preserves the original 167s returns an empty hash 167s on [{"A"=>"aye"}] 167s preserves the original 167s returns an empty hash 167s on [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 167s preserves the original 167s returns an empty hash 167s on a subclass 167s returns an empty instance of the subclass 167s 167s Hamster::Hash 167s .hash 167s with nothing 167s returns the canonical empty hash 167s with an implicit hash 167s is equivalent to repeatedly using #put 167s with an array of pairs 167s initializes a new Hash 167s with a Hamster::Hash 167s initializes an equivalent Hash 167s 167s Hamster::Hash 167s #dup 167s returns self 167s #clone 167s returns self 167s 167s Hamster::Hash 167s #default_proc 167s returns the default block given when the Hash was created 167s returns nil if no default block was given 167s after a key/val pair are inserted 167s doesn't change 167s after all key/val pairs are filtered out 167s doesn't change 167s after Hash is inverted 167s doesn't change 167s when a slice is taken 167s doesn't change 167s when keys are removed with #except 167s doesn't change 167s when Hash is mapped 167s doesn't change 167s when another Hash is merged in 167s doesn't change 167s 167s Hamster::Hash 167s #delete 167s with an existing key 167s preserves the original 167s returns a copy with the remaining key/value pairs 167s with a non-existing key 167s preserves the original values 167s returns self 167s when removing the last key 167s from a Hash with no default block 167s returns the canonical empty Hash 167s 167s Hamster::Hash 167s #dig 167s returns the value with one argument to dig 167s returns the value in nested hashes 167s returns nil if the key is not present 167s returns nil if you dig out the end of the hash 167s returns nil if a value does not support dig 167s returns the correct value when there is a default proc 167s 167s Hamster::Hash 167s #each 167s with a block (internal iteration) 167s returns self 167s yields all key/value pairs 167s yields key/value pairs in the same order as #each_key and #each_value 167s yields both of a pair of colliding keys 167s yields only the key to a block expecting |key,| 167s with no block 167s returns an Enumerator 167s #each_pair 167s with a block (internal iteration) 167s returns self 167s yields all key/value pairs 167s yields key/value pairs in the same order as #each_key and #each_value 167s yields both of a pair of colliding keys 167s yields only the key to a block expecting |key,| 167s with no block 167s returns an Enumerator 167s #each_key 167s yields all keys 167s with no block 167s returns an Enumerator 167s #each_value 167s yields all values 167s with no block 167s returns an Enumerator 167s 167s Hamster::Hash 167s #each_with_index 167s with a block (internal iteration) 167s returns self 167s yields all key/value pairs with numeric indexes 167s with no block 167s returns an Enumerator 167s 167s Hamster::Hash 167s #empty? 167s returns true for [] 167s returns false for [{"A"=>"aye"}] 167s returns false for [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 167s returns true for empty hashes which have a default block 167s .empty 167s returns the canonical empty Hash 167s from a subclass 167s returns an empty instance of the subclass 167s calls overridden #initialize when creating empty Hash 167s 167s Hamster::Hash 167s returns true on a large hash which is modified and then modified back again 167s #eql? 167s returns false when comparing with a standard hash 167s returns false when comparing with an arbitrary object 167s returns false when comparing with a subclass of Hamster::Hash 167s #== 167s returns true when comparing with a standard hash 167s returns false when comparing with an arbitrary object 167s returns true when comparing with a subclass of Hamster::Hash 167s #eql? 167s returns true 167s for {} and {} 167s for {} and {} 167s returns false 167s for {"A"=>"aye"} and {} 167s for {} and {"A"=>"aye"} 167s returns false 167s for {} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {} 167s returns true 167s for {"A"=>"aye"} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {"A"=>"aye"} 167s returns false 167s for {"A"=>"aye"} and {"B"=>"bee"} 167s for {"B"=>"bee"} and {"A"=>"aye"} 167s returns false 167s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 167s returns false 167s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 167s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 167s returns true 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s returns true 167s for {"C"=>"see", "A"=>"aye", "B"=>"bee"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"C"=>"see", "A"=>"aye", "B"=>"bee"} 167s #== 167s returns true 167s for {} and {} 167s for {} and {} 167s returns false 167s for {"A"=>"aye"} and {} 167s for {} and {"A"=>"aye"} 167s returns false 167s for {} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {} 167s returns true 167s for {"A"=>"aye"} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {"A"=>"aye"} 167s returns false 167s for {"A"=>"aye"} and {"B"=>"bee"} 167s for {"B"=>"bee"} and {"A"=>"aye"} 167s returns false 167s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 167s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 167s returns false 167s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 167s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 167s returns true 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s returns true 167s for {"C"=>"see", "A"=>"aye", "B"=>"bee"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 167s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"C"=>"see", "A"=>"aye", "B"=>"bee"} 167s 167s Hamster::Hash 167s #except 168s works on a large Hash, with many combinations of input 168s with only keys that the Hash has 168s returns a Hash without those values 168s doesn't change the original Hash 168s with keys that the Hash doesn't have 168s returns a Hash without the values that it had keys for 168s doesn't change the original Hash 168s 168s Hamster::Hash 168s #fetch 168s gives precedence to default block over default argument if passed both 168s raises an ArgumentError when not passed one or 2 arguments 168s with no default provided 168s when the key exists 168s returns the value associated with the key 168s when the key does not exist 168s raises a KeyError 168s with a default value 168s when the key exists 168s returns the value associated with the key 168s when the key does not exist 168s returns the default value 168s with a default block 168s when the key exists 168s returns the value associated with the key 168s when the key does not exist 168s invokes the default block with the missing key as paramter 168s 168s Hamster::Hash 168s #fetch_values 168s when the all the requests keys exist 168s returns a vector of values for the given keys 168s when the key does not exist 168s raises a KeyError 168s 168s Hamster::Hash 168s #find 168s stops iterating when the block returns true 168s on [] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns ["A", "aye"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns ["A", "aye"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns ["B", "bee"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns [nil, "NIL"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s #detect 168s stops iterating when the block returns true 168s on [] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns ["A", "aye"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns ["A", "aye"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns ["B", "bee"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns [nil, "NIL"] 168s without a block 168s returns an Enumerator 168s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 168s with a block 168s returns nil 168s without a block 168s returns an Enumerator 168s 168s Hamster::Hash 168s #flat_map 168s yields each key/val pair 168s returns the concatenation of block return values 168s doesn't change the receiver 168s returns an empty array if only empty arrays are returned by block 168s with no block 168s returns an Enumerator 168s 168s Hamster::Hash 168s #flatten 168s with flatten depth of zero 168s returns a vector of keys/value 168s without array keys or values 168s returns a vector of keys and values 168s doesn't modify the receiver 168s on an empty Hash 168s returns an empty Vector 168s with array keys 168s flattens array keys into returned vector if flatten depth is sufficient 168s doesn't modify the receiver (or its contents) 168s with array values 168s flattens array values into returned vector if flatten depth is sufficient 168s doesn't modify the receiver (or its contents) 168s with vector keys 168s flattens vector keys into returned vector if flatten depth is sufficient 168s with vector values 168s flattens vector values into returned vector if flatten depth is sufficient 168s 168s Hamster::Hash 168s #get 168s uses #hash to look up keys 168s uses #eql? to compare keys with the same hash code 168s does not use #eql? to compare keys with different hash codes 168s with a default block 168s when the key exists 168s returns the value associated with the key 168s does not call the default block even if the key is 'nil' 168s when the key does not exist 168s returns the value from the default block 168s with no default block 168s returns the value ("aye") for an existing key ("A") 168s returns the value ("bee") for an existing key ("B") 168s returns the value ("see") for an existing key ("C") 168s returns the value ("NIL") for an existing key (nil) 168s returns nil for a non-existing key 168s #[] 168s uses #hash to look up keys 168s uses #eql? to compare keys with the same hash code 168s does not use #eql? to compare keys with different hash codes 168s with a default block 168s when the key exists 168s returns the value associated with the key 168s does not call the default block even if the key is 'nil' 168s when the key does not exist 168s returns the value from the default block 168s with no default block 168s returns the value ("aye") for an existing key ("A") 168s returns the value ("bee") for an existing key ("B") 168s returns the value ("see") for an existing key ("C") 168s returns the value ("NIL") for an existing key (nil) 168s returns nil for a non-existing key 168s 168s Hamster::Hash 168s #key? 168s returns true for an existing key ("A") 168s returns true for an existing key ("B") 168s returns true for an existing key ("C") 168s returns true for an existing key (nil) 168s returns true for an existing key (2.0) 168s returns false for a non-existing key 168s uses #eql? for equality 168s returns true if the key is found and maps to nil 168s returns true if the key is found and maps to false 168s #has_key? 168s returns true for an existing key ("A") 168s returns true for an existing key ("B") 168s returns true for an existing key ("C") 168s returns true for an existing key (nil) 168s returns true for an existing key (2.0) 168s returns false for a non-existing key 168s uses #eql? for equality 168s returns true if the key is found and maps to nil 168s returns true if the key is found and maps to false 168s #include? 168s returns true for an existing key ("A") 168s returns true for an existing key ("B") 168s returns true for an existing key ("C") 168s returns true for an existing key (nil) 168s returns true for an existing key (2.0) 168s returns false for a non-existing key 168s uses #eql? for equality 168s returns true if the key is found and maps to nil 168s returns true if the key is found and maps to false 168s #member? 168s returns true for an existing key ("A") 168s returns true for an existing key ("B") 168s returns true for an existing key ("C") 168s returns true for an existing key (nil) 168s returns true for an existing key (2.0) 168s returns false for a non-existing key 168s uses #eql? for equality 168s returns true if the key is found and maps to nil 168s returns true if the key is found and maps to false 168s 168s Hamster::Hash 168s #value? 168s returns true if any key/val pair in Hash has the same value 168s returns false if no key/val pair in Hash has the same value 168s uses #== to check equality 168s works on a large hash 168s #has_value? 168s returns true if any key/val pair in Hash has the same value 168s returns false if no key/val pair in Hash has the same value 168s uses #== to check equality 168s works on a large hash 168s 168s Hamster::Hash 168s #hash 168s values are sufficiently distributed 168s differs given the same keys and different values 168s differs given the same values and different keys 168s generates the same hash value for a hash regardless of the order things were added to it 168s on an empty hash 168s returns 0 168s 168s Hamster::Hash 168s includes Immutable 168s 168s Hamster::Hash 168s #inspect 168s on [] 168s returns "Hamster::Hash[]" 168s on [{"A"=>"aye"}] 168s returns "Hamster::Hash[\"A\" => \"aye\"]" 168s on [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 168s returns "Hamster::Hash[\"A\" => \"aye\", \"B\" => \"bee\", \"C\" => \"see\"]" 168s on {} 168s returns a string which can be eval'd to get an equivalent object 168s on {"A"=>"aye"} 168s returns a string which can be eval'd to get an equivalent object 168s on {:a=>"aye", :b=>"bee", :c=>"see"} 168s returns a string which can be eval'd to get an equivalent object 168s 168s Hamster::Hash 168s #invert 168s uses the existing keys as values and values as keys 168s will select one key/value pair among multiple which have same value 168s doesn't change the original Hash 168s from a subclass of Hash 168s returns an instance of the subclass 168s 168s Hamster::Hash 168s #key 168s returns a key associated with the given value, if there is one 168s returns nil if there is no key associated with the given value 168s uses #== to compare values for equality 168s doesn't use default block if value is not found 168s 168s Hamster::Hash 168s #keys 168s returns the keys as a set 168s returns frozen String keys 168s 168s Hamster::Hash 168s #map 168s when empty 168s returns self 168s when not empty 168s with a block 168s preserves the original values 168s returns a new hash with the mapped values 168s with no block 168s returns an Enumerator 168s from a subclass 168s returns an instance of the subclass 168s #collect 168s when empty 168s returns self 168s when not empty 168s with a block 168s preserves the original values 168s returns a new hash with the mapped values 168s with no block 168s returns an Enumerator 168s from a subclass 168s returns an instance of the subclass 168s 168s Hamster::Hash 168s #marshal_dump/#marshal_load 168s can survive dumping and loading into a new process 168s is still possible to find items by key after loading 168s 168s Hamster::Hash 168s #merge 168s sets any duplicate key to the value of block if passed a block 168s yields key/value pairs in the same order as #each 168s for {} and {} 168s returns {} when passed a Hamster::Hash 168s returns {} when passed a Ruby Hash 168s doesn't change the original Hashes 168s for {"A"=>"aye"} and {} 168s returns {"A"=>"aye"} when passed a Hamster::Hash 168s returns {"A"=>"aye"} when passed a Ruby Hash 168s doesn't change the original Hashes 168s for {"A"=>"aye"} and {"A"=>"bee"} 168s returns {"A"=>"bee"} when passed a Hamster::Hash 168s returns {"A"=>"bee"} when passed a Ruby Hash 168s doesn't change the original Hashes 168s for {"A"=>"aye"} and {"B"=>"bee"} 168s returns {"A"=>"aye", "B"=>"bee"} when passed a Hamster::Hash 168s returns {"A"=>"aye", "B"=>"bee"} when passed a Ruby Hash 168s doesn't change the original Hashes 168s for [[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6], [7, 7], [8, 8], [9, 9], [10, 10], [11, 11], [12, 12], [13, 13], [14, 14], [15, 15], [16, 16], [17, 17], [18, 18], [19, 19], [20, 20], [21, 21], [22, 22], [23, 23], [24, 24], [25, 25], [26, 26], [27, 27], [28, 28], [29, 29], [30, 30], [31, 31], [32, 32], [33, 33], [34, 34], [35, 35], [36, 36], [37, 37], [38, 38], [39, 39], [40, 40], [41, 41], [42, 42], [43, 43], [44, 44], [45, 45], [46, 46], [47, 47], [48, 48], [49, 49], [50, 50], [51, 51], [52, 52], [53, 53], [54, 54], [55, 55], [56, 56], [57, 57], [58, 58], [59, 59], [60, 60], [61, 61], [62, 62], [63, 63], [64, 64], [65, 65], [66, 66], [67, 67], [68, 68], [69, 69], [70, 70], [71, 71], [72, 72], [73, 73], [74, 74], [75, 75], [76, 76], [77, 77], [78, 78], [79, 79], [80, 80], [81, 81], [82, 82], [83, 83], [84, 84], [85, 85], [86, 86], [87, 87], [88, 88], [89, 89], [90, 90], [91, 91], [92, 92], [93, 93], [94, 94], [95, 95], [96, 96], [97, 97], [98, 98], [99, 99], [100, 100], [101, 101], [102, 102], [103, 103], [104, 104], [105, 105], [106, 106], [107, 107], [108, 108], [109, 109], [110, 110], [111, 111], [112, 112], [113, 113], [114, 114], [115, 115], [116, 116], [117, 117], [118, 118], [119, 119], [120, 120], [121, 121], [122, 122], [123, 123], [124, 124], [125, 125], [126, 126], [127, 127], [128, 128], [129, 129], [130, 130], [131, 131], [132, 132], [133, 133], [134, 134], [135, 135], [136, 136], [137, 137], [138, 138], [139, 139], [140, 140], [141, 141], [142, 142], [143, 143], [144, 144], [145, 145], [146, 146], [147, 147], [148, 148], [149, 149], [150, 150], [151, 151], [152, 152], [153, 153], [154, 154], [155, 155], [156, 156], [157, 157], [158, 158], [159, 159], [160, 160], [161, 161], [162, 162], [163, 163], [164, 164], [165, 165], [166, 166], [167, 167], [168, 168], [169, 169], [170, 170], [171, 171], [172, 172], [173, 173], [174, 174], [175, 175], [176, 176], [177, 177], [178, 178], [179, 179], [180, 180], [181, 181], [182, 182], [183, 183], [184, 184], [185, 185], [186, 186], [187, 187], [188, 188], [189, 189], [190, 190], [191, 191], [192, 192], [193, 193], [194, 194], [195, 195], [196, 196], [197, 197], [198, 198], [199, 199], [200, 200], [201, 201], [202, 202], [203, 203], [204, 204], [205, 205], [206, 206], [207, 207], [208, 208], [209, 209], [210, 210], [211, 211], [212, 212], [213, 213], [214, 214], [215, 215], [216, 216], [217, 217], [218, 218], [219, 219], [220, 220], [221, 221], [222, 222], [223, 223], [224, 224], [225, 225], [226, 226], [227, 227], [228, 228], [229, 229], [230, 230], [231, 231], [232, 232], [233, 233], [234, 234], [235, 235], [236, 236], [237, 237], [238, 238], [239, 239], [240, 240], [241, 241], [242, 242], [243, 243], [244, 244], [245, 245], [246, 246], [247, 247], [248, 248], [249, 249], [250, 250], [251, 251], [252, 252], [253, 253], [254, 254], [255, 255], [256, 256], [257, 257], [258, 258], [259, 259], [260, 260], [261, 261], [262, 262], [263, 263], [264, 264], [265, 265], [266, 266], [267, 267], [268, 268], [269, 269], [270, 270], [271, 271], [272, 272], [273, 273], [274, 274], [275, 275], [276, 276], [277, 277], [278, 278], [279, 279], [280, 280], [281, 281], [282, 282], [283, 283], [284, 284], [285, 285], [286, 286], [287, 287], [288, 288], [289, 289], [290, 290], [291, 291], [292, 292], [293, 293], [294, 294], [295, 295], [296, 296], [297, 297], [298, 298], [299, 299], [300, 300]] and [[150, 150], [151, 151], [152, 152], [153, 153], [154, 154], [155, 155], [156, 156], [157, 157], [158, 158], [159, 159], [160, 160], [161, 161], [162, 162], [163, 163], [164, 164], [165, 165], [166, 166], [167, 167], [168, 168], [169, 169], [170, 170], [171, 171], [172, 172], [173, 173], [174, 174], [175, 175], [176, 176], [177, 177], [178, 178], [179, 179], [180, 180], [181, 181], [182, 182], [183, 183], [184, 184], [185, 185], [186, 186], [187, 187], [188, 188], [189, 189], [190, 190], [191, 191], [192, 192], [193, 193], [194, 194], [195, 195], [196, 196], [197, 197], [198, 198], [199, 199], [200, 200], [201, 201], [202, 202], [203, 203], [204, 204], [205, 205], [206, 206], [207, 207], [208, 208], [209, 209], [210, 210], [211, 211], [212, 212], [213, 213], [214, 214], [215, 215], [216, 216], [217, 217], [218, 218], [219, 219], [220, 220], [221, 221], [222, 222], [223, 223], [224, 224], [225, 225], [226, 226], [227, 227], [228, 228], [229, 229], [230, 230], [231, 231], [232, 232], [233, 233], [234, 234], [235, 235], [236, 236], [237, 237], [238, 238], [239, 239], [240, 240], [241, 241], [242, 242], [243, 243], [244, 244], [245, 245], [246, 246], [247, 247], [248, 248], [249, 249], [250, 250], [251, 251], [252, 252], [253, 253], [254, 254], [255, 255], [256, 256], [257, 257], [258, 258], [259, 259], [260, 260], [261, 261], [262, 262], [263, 263], [264, 264], [265, 265], [266, 266], [267, 267], [268, 268], [269, 269], [270, 270], [271, 271], [272, 272], [273, 273], [274, 274], [275, 275], [276, 276], [277, 277], [278, 278], [279, 279], [280, 280], [281, 281], [282, 282], [283, 283], [284, 284], [285, 285], [286, 286], [287, 287], [288, 288], [289, 289], [290, 290], [291, 291], [292, 292], [293, 293], [294, 294], [295, 295], [296, 296], [297, 297], [298, 298], [299, 299], [300, 300], [301, 301], [302, 302], [303, 303], [304, 304], [305, 305], [306, 306], [307, 307], [308, 308], [309, 309], [310, 310], [311, 311], [312, 312], [313, 313], [314, 314], [315, 315], [316, 316], [317, 317], [318, 318], [319, 319], [320, 320], [321, 321], [322, 322], [323, 323], [324, 324], [325, 325], [326, 326], [327, 327], [328, 328], [329, 329], [330, 330], [331, 331], [332, 332], [333, 333], [334, 334], [335, 335], [336, 336], [337, 337], [338, 338], [339, 339], [340, 340], [341, 341], [342, 342], [343, 343], [344, 344], [345, 345], [346, 346], [347, 347], [348, 348], [349, 349], [350, 350], [351, 351], [352, 352], [353, 353], [354, 354], [355, 355], [356, 356], [357, 357], [358, 358], [359, 359], [360, 360], [361, 361], [362, 362], [363, 363], [364, 364], [365, 365], [366, 366], [367, 367], [368, 368], [369, 369], [370, 370], [371, 371], [372, 372], [373, 373], [374, 374], [375, 375], [376, 376], [377, 377], [378, 378], [379, 379], [380, 380], [381, 381], [382, 382], [383, 383], [384, 384], [385, 385], [386, 386], [387, 387], [388, 388], [389, 389], [390, 390], [391, 391], [392, 392], [393, 393], [394, 394], [395, 395], [396, 396], [397, 397], [398, 398], [399, 399], [400, 400], [401, 401], [402, 402], [403, 403], [404, 404], [405, 405], [406, 406], [407, 407], [408, 408], [409, 409], [410, 410], [411, 411], [412, 412], [413, 413], [414, 414], [415, 415], [416, 416], [417, 417], [418, 418], [419, 419], [420, 420], [421, 421], [422, 422], [423, 423], [424, 424], [425, 425], [426, 426], [427, 427], [428, 428], [429, 429], [430, 430], [431, 431], [432, 432], [433, 433], [434, 434], [435, 435], [436, 436], [437, 437], [438, 438], [439, 439], [440, 440], [441, 441], [442, 442], [443, 443], [444, 444], [445, 445], [446, 446], [447, 447], [448, 448], [449, 449], [450, 450]] 168s returns [[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6], [7, 7], [8, 8], [9, 9], [10, 10], [11, 11], [12, 12], [13, 13], [14, 14], [15, 15], [16, 16], [17, 17], [18, 18], [19, 19], [20, 20], [21, 21], [22, 22], [23, 23], [24, 24], [25, 25], [26, 26], [27, 27], [28, 28], [29, 29], [30, 30], [31, 31], [32, 32], [33, 33], [34, 34], [35, 35], [36, 36], [37, 37], [38, 38], [39, 39], [40, 40], [41, 41], [42, 42], [43, 43], [44, 44], [45, 45], [46, 46], [47, 47], [48, 48], [49, 49], [50, 50], [51, 51], [52, 52], [53, 53], [54, 54], [55, 55], [56, 56], [57, 57], [58, 58], [59, 59], [60, 60], [61, 61], [62, 62], [63, 63], [64, 64], [65, 65], [66, 66], [67, 67], [68, 68], [69, 69], [70, 70], [71, 71], [72, 72], [73, 73], [74, 74], [75, 75], [76, 76], [77, 77], [78, 78], [79, 79], [80, 80], [81, 81], [82, 82], [83, 83], [84, 84], [85, 85], [86, 86], [87, 87], [88, 88], [89, 89], [90, 90], [91, 91], [92, 92], [93, 93], [94, 94], [95, 95], [96, 96], [97, 97], [98, 98], [99, 99], [100, 100], [101, 101], [102, 102], [103, 103], [104, 104], [105, 105], [106, 106], [107, 107], [108, 108], [109, 109], [110, 110], [111, 111], [112, 112], [113, 113], [114, 114], [115, 115], [116, 116], [117, 117], [118, 118], [119, 119], [120, 120], [121, 121], [122, 122], [123, 123], [124, 124], [125, 125], [126, 126], [127, 127], [128, 128], [129, 129], [130, 130], [131, 131], [132, 132], [133, 133], [134, 134], [135, 135], [136, 136], [137, 137], [138, 138], [139, 139], [140, 140], [141, 141], [142, 142], [143, 143], [144, 144], [145, 145], [146, 146], [147, 147], [148, 148], [149, 149], [150, 150], [151, 151], [152, 152], [153, 153], [154, 154], [155, 155], [156, 156], [157, 157], [158, 158], [159, 159], [160, 160], [161, 161], [162, 162], [163, 163], [164, 164], [165, 165], [166, 166], [167, 167], [168, 168], [169, 169], [170, 170], [171, 171], [172, 172], [173, 173], [174, 174], [175, 175], [176, 176], [177, 177], [178, 178], [179, 179], [180, 180], [181, 181], [182, 182], [183, 183], [184, 184], [185, 185], [186, 186], [187, 187], [188, 188], [189, 189], [190, 190], [191, 191], [192, 192], [193, 193], [194, 194], [195, 195], [196, 196], [197, 197], [198, 198], [199, 199], [200, 200], [201, 201], [202, 202], [203, 203], [204, 204], [205, 205], [206, 206], [207, 207], [208, 208], [209, 209], [210, 210], [211, 211], [212, 212], [213, 213], [214, 214], [215, 215], [216, 216], [217, 217], [218, 218], [219, 219], [220, 220], [221, 221], [222, 222], [223, 223], [224, 224], [225, 225], [226, 226], [227, 227], [228, 228], [229, 229], [230, 230], [231, 231], [232, 232], [233, 233], [234, 234], [235, 235], [236, 236], [237, 237], [238, 238], [239, 239], [240, 240], [241, 241], [242, 242], [243, 243], [244, 244], [245, 245], [246, 246], [247, 247], [248, 248], [249, 249], [250, 250], [251, 251], [252, 252], [253, 253], [254, 254], [255, 255], [256, 256], [257, 257], [258, 258], [259, 259], [260, 260], [261, 261], [262, 262], [263, 263], [264, 264], [265, 265], [266, 266], [267, 267], [268, 268], [269, 269], [270, 270], [271, 271], [272, 272], [273, 273], [274, 274], [275, 275], [276, 276], [277, 277], [278, 278], [279, 279], [280, 280], [281, 281], [282, 282], [283, 283], [284, 284], [285, 285], [286, 286], [287, 287], [288, 288], [289, 289], [290, 290], [291, 291], [292, 292], [293, 293], [294, 294], [295, 295], [296, 296], [297, 297], [298, 298], [299, 299], [300, 300], [301, 301], [302, 302], [303, 303], [304, 304], [305, 305], [306, 306], [307, 307], [308, 308], [309, 309], [310, 310], [311, 311], [312, 312], [313, 313], [314, 314], [315, 315], [316, 316], [317, 317], [318, 318], [319, 319], [320, 320], [321, 321], [322, 322], [323, 323], [324, 324], [325, 325], [326, 326], [327, 327], [328, 328], [329, 329], [330, 330], [331, 331], [332, 332], [333, 333], [334, 334], [335, 335], [336, 336], [337, 337], [338, 338], [339, 339], [340, 340], [341, 341], [342, 342], [343, 343], [344, 344], [345, 345], [346, 346], [347, 347], [348, 348], [349, 349], [350, 350], [351, 351], [352, 352], [353, 353], [354, 354], [355, 355], [356, 356], [357, 357], [358, 358], [359, 359], [360, 360], [361, 361], [362, 362], [363, 363], [364, 364], [365, 365], [366, 366], [367, 367], [368, 368], [369, 369], [370, 370], [371, 371], [372, 372], [373, 373], [374, 374], [375, 375], [376, 376], [377, 377], [378, 378], [379, 379], [380, 380], [381, 381], [382, 382], [383, 383], [384, 384], [385, 385], [386, 386], [387, 387], [388, 388], [389, 389], [390, 390], [391, 391], [392, 392], [393, 393], [394, 394], [395, 395], [396, 396], [397, 397], [398, 398], [399, 399], [400, 400], [401, 401], [402, 402], [403, 403], [404, 404], [405, 405], [406, 406], [407, 407], [408, 408], [409, 409], [410, 410], [411, 411], [412, 412], [413, 413], [414, 414], [415, 415], [416, 416], [417, 417], [418, 418], [419, 419], [420, 420], [421, 421], [422, 422], [423, 423], [424, 424], [425, 425], [426, 426], [427, 427], [428, 428], [429, 429], [430, 430], [431, 431], [432, 432], [433, 433], [434, 434], [435, 435], [436, 436], [437, 437], [438, 438], [439, 439], [440, 440], [441, 441], [442, 442], [443, 443], [444, 444], [445, 445], [446, 446], [447, 447], [448, 448], [449, 449], [450, 450]] when passed a Hamster::Hash 168s returns [[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6], [7, 7], [8, 8], [9, 9], [10, 10], [11, 11], [12, 12], [13, 13], [14, 14], [15, 15], [16, 16], [17, 17], [18, 18], [19, 19], [20, 20], [21, 21], [22, 22], [23, 23], [24, 24], [25, 25], [26, 26], [27, 27], [28, 28], [29, 29], [30, 30], [31, 31], [32, 32], [33, 33], [34, 34], [35, 35], [36, 36], [37, 37], [38, 38], [39, 39], [40, 40], [41, 41], [42, 42], [43, 43], [44, 44], [45, 45], [46, 46], [47, 47], [48, 48], [49, 49], [50, 50], [51, 51], [52, 52], [53, 53], [54, 54], [55, 55], [56, 56], [57, 57], [58, 58], [59, 59], [60, 60], [61, 61], [62, 62], [63, 63], [64, 64], [65, 65], [66, 66], [67, 67], [68, 68], [69, 69], [70, 70], [71, 71], [72, 72], [73, 73], [74, 74], [75, 75], [76, 76], [77, 77], [78, 78], [79, 79], [80, 80], [81, 81], [82, 82], [83, 83], [84, 84], [85, 85], [86, 86], [87, 87], [88, 88], [89, 89], [90, 90], [91, 91], [92, 92], [93, 93], [94, 94], [95, 95], [96, 96], [97, 97], [98, 98], [99, 99], [100, 100], [101, 101], [102, 102], [103, 103], [104, 104], [105, 105], [106, 106], [107, 107], [108, 108], [109, 109], [110, 110], [111, 111], [112, 112], [113, 113], [114, 114], [115, 115], [116, 116], [117, 117], [118, 118], [119, 119], [120, 120], [121, 121], [122, 122], [123, 123], [124, 124], [125, 125], [126, 126], [127, 127], [128, 128], [129, 129], [130, 130], [131, 131], [132, 132], [133, 133], [134, 134], [135, 135], [136, 136], [137, 137], [138, 138], [139, 139], [140, 140], [141, 141], [142, 142], [143, 143], [144, 144], [145, 145], [146, 146], [147, 147], [148, 148], [149, 149], [150, 150], [151, 151], [152, 152], [153, 153], [154, 154], [155, 155], [156, 156], [157, 157], [158, 158], [159, 159], [160, 160], [161, 161], [162, 162], [163, 163], [164, 164], [165, 165], [166, 166], [167, 167], [168, 168], [169, 169], [170, 170], [171, 171], [172, 172], [173, 173], [174, 174], [175, 175], [176, 176], [177, 177], [178, 178], [179, 179], [180, 180], [181, 181], [182, 182], [183, 183], [184, 184], [185, 185], [186, 186], [187, 187], [188, 188], [189, 189], [190, 190], [191, 191], [192, 192], [193, 193], [194, 194], [195, 195], [196, 196], [197, 197], [198, 198], [199, 199], [200, 200], [201, 201], [202, 202], [203, 203], [204, 204], [205, 205], [206, 206], [207, 207], [208, 208], [209, 209], [210, 210], [211, 211], [212, 212], [213, 213], [214, 214], [215, 215], [216, 216], [217, 217], [218, 218], [219, 219], [220, 220], [221, 221], [222, 222], [223, 223], [224, 224], [225, 225], [226, 226], [227, 227], [228, 228], [229, 229], [230, 230], [231, 231], [232, 232], [233, 233], [234, 234], [235, 235], [236, 236], [237, 237], [238, 238], [239, 239], [240, 240], [241, 241], [242, 242], [243, 243], [244, 244], [245, 245], [246, 246], [247, 247], [248, 248], [249, 249], [250, 250], [251, 251], [252, 252], [253, 253], [254, 254], [255, 255], [256, 256], [257, 257], [258, 258], [259, 259], [260, 260], [261, 261], [262, 262], [263, 263], [264, 264], [265, 265], [266, 266], [267, 267], [268, 268], [269, 269], [270, 270], [271, 271], [272, 272], [273, 273], [274, 274], [275, 275], [276, 276], [277, 277], [278, 278], [279, 279], [280, 280], [281, 281], [282, 282], [283, 283], [284, 284], [285, 285], [286, 286], [287, 287], [288, 288], [289, 289], [290, 290], [291, 291], [292, 292], [293, 293], [294, 294], [295, 295], [296, 296], [297, 297], [298, 298], [299, 299], [300, 300], [301, 301], [302, 302], [303, 303], [304, 304], [305, 305], [306, 306], [307, 307], [308, 308], [309, 309], [310, 310], [311, 311], [312, 312], [313, 313], [314, 314], [315, 315], [316, 316], [317, 317], [318, 318], [319, 319], [320, 320], [321, 321], [322, 322], [323, 323], [324, 324], [325, 325], [326, 326], [327, 327], [328, 328], [329, 329], [330, 330], [331, 331], [332, 332], [333, 333], [334, 334], [335, 335], [336, 336], [337, 337], [338, 338], [339, 339], [340, 340], [341, 341], [342, 342], [343, 343], [344, 344], [345, 345], [346, 346], [347, 347], [348, 348], [349, 349], [350, 350], [351, 351], [352, 352], [353, 353], [354, 354], [355, 355], [356, 356], [357, 357], [358, 358], [359, 359], [360, 360], [361, 361], [362, 362], [363, 363], [364, 364], [365, 365], [366, 366], [367, 367], [368, 368], [369, 369], [370, 370], [371, 371], [372, 372], [373, 373], [374, 374], [375, 375], [376, 376], [377, 377], [378, 378], [379, 379], [380, 380], [381, 381], [382, 382], [383, 383], [384, 384], [385, 385], [386, 386], [387, 387], [388, 388], [389, 389], [390, 390], [391, 391], [392, 392], [393, 393], [394, 394], [395, 395], [396, 396], [397, 397], [398, 398], [399, 399], [400, 400], [401, 401], [402, 402], [403, 403], [404, 404], [405, 405], [406, 406], [407, 407], [408, 408], [409, 409], [410, 410], [411, 411], [412, 412], [413, 413], [414, 414], [415, 415], [416, 416], [417, 417], [418, 418], [419, 419], [420, 420], [421, 421], [422, 422], [423, 423], [424, 424], [425, 425], [426, 426], [427, 427], [428, 428], [429, 429], [430, 430], [431, 431], [432, 432], [433, 433], [434, 434], [435, 435], [436, 436], [437, 437], [438, 438], [439, 439], [440, 440], [441, 441], [442, 442], [443, 443], [444, 444], [445, 445], [446, 446], [447, 447], [448, 448], [449, 449], [450, 450]] when passed a Ruby Hash 168s doesn't change the original Hashes 168s when merging with an empty Hash 168s returns self 168s when merging with subset Hash 168s returns self 168s when called on a subclass 168s returns an instance of the subclass 168s 168s Hamster::Hash 168s #min 168s returns the smallest key/val pair 168s #max 168s returns the largest key/val pair 168s #min_by 168s returns the smallest key/val pair (after passing it through a key function) 168s returns the first key/val pair yielded by #each in case of a tie 168s returns nil if the hash is empty 168s #max_by 168s returns the largest key/val pair (after passing it through a key function) 168s returns the first key/val pair yielded by #each in case of a tie 168s returns nil if the hash is empty 168s 168s Hamster::Hash 168s .new 168s is amenable to overriding of #initialize 168s accepts an array as initializer 168s returns a Hash which doesn't change even if initializer is mutated 168s from a subclass 168s returns a frozen instance of the subclass 168s .[] 168s accepts a Ruby Hash as initializer 168s accepts a Hamster::Hash as initializer 168s accepts an array as initializer 168s can be used with a subclass of Hamster::Hash 168s 168s Hamster::Hash 168s #none? 168s when empty 168s with a block returns true 168s with no block returns true 168s when not empty 168s with a block 168s returns false if the block ever returns true (["A", "aye"]) 168s returns true if the block always returns false 168s stops iterating as soon as the block returns true 168s returns false if the block ever returns true (["B", "bee"]) 168s returns true if the block always returns false 168s stops iterating as soon as the block returns true 168s returns false if the block ever returns true (["C", "see"]) 168s returns true if the block always returns false 168s stops iterating as soon as the block returns true 168s returns false if the block ever returns true ([nil, "NIL"]) 168s returns true if the block always returns false 168s stops iterating as soon as the block returns true 168s with no block 168s returns false 168s 168s Hamster::Hash 168s #partition 168s returns a pair of Hamster::Hashes 168s returns key/val pairs for which predicate is true in first Hash 168s returns key/val pairs for which predicate is false in second Hash 168s doesn't modify the original Hash 168s from a subclass 168s should return instances of the subclass 168s 168s Hamster::Hash 168s #pretty_print 168s prints the whole Hash on one line if it fits 168s prints each key/val pair on its own line, if not 168s prints keys and vals on separate lines, if space is very tight 168s 168s Hamster::Hash 168s #put 168s with a block 168s passes the value to the block 168s replaces the value with the result of the block 168s supports to_proc methods 168s if there is no existing association 168s passes nil to the block 168s stores the result of the block as the new value 168s with a unique key 168s preserves the original 168s returns a copy with the superset of key/value pairs 168s with a duplicate key 168s preserves the original 168s returns a copy with the superset of key/value pairs 168s with duplicate key and identical value 168s returns the original hash unmodified 168s with big hash (force nested tries) 168s returns the original hash unmodified for all changes 168s with unequal keys which hash to the same value 168s stores and can retrieve both 168s when a String is inserted as key and then mutated 168s is not affected 168s 168s Hamster::Hash 168s #reduce 168s when empty 168s returns the memo 168s when not empty 168s with a block 168s returns the final memo 168s with no block 168s uses a passed string as the name of a method to use instead 168s uses a passed symbol as the name of a method to use instead 168s #inject 168s when empty 168s returns the memo 168s when not empty 168s with a block 168s returns the final memo 168s with no block 168s uses a passed string as the name of a method to use instead 168s uses a passed symbol as the name of a method to use instead 168s 168s Hamster::Hash 168s #reject 168s when nothing matches 168s returns self 168s when only some things match 168s with a block 168s preserves the original 168s returns a set with the matching values 168s yields entries in the same order as #each 168s with no block 168s returns an Enumerator 168s on a large hash, with many combinations of input 168s still works 168s #delete_if 168s when nothing matches 168s returns self 168s when only some things match 168s with a block 168s preserves the original 168s returns a set with the matching values 168s yields entries in the same order as #each 168s with no block 168s returns an Enumerator 168s on a large hash, with many combinations of input 168s still works 168s 168s Hamster::Hash 168s #reverse_each 168s with a block 168s returns self 168s yields all key/value pairs in the opposite order as #each 168s with no block 168s returns an Enumerator 168s 168s Hamster::Hash 168s #sample 168s returns a randomly chosen item 168s 168s Hamster::Hash 168s #select 168s works on a large hash, with many combinations of input 168s when everything matches 168s returns self 168s when only some things match 168s yields entries as [key, value] pairs 168s with a block 168s preserves the original 168s returns a set with the matching values 168s with no block 168s returns an Enumerator 168s #find_all 168s works on a large hash, with many combinations of input 168s when everything matches 168s returns self 168s when only some things match 168s yields entries as [key, value] pairs 168s with a block 168s preserves the original 168s returns a set with the matching values 168s with no block 168s returns an Enumerator 168s #keep_if 168s works on a large hash, with many combinations of input 168s when everything matches 168s returns self 168s when only some things match 168s yields entries as [key, value] pairs 168s with a block 168s preserves the original 168s returns a set with the matching values 168s with no block 168s returns an Enumerator 168s 168s Hamster::Hash 168s #size 168s returns 0 for [] 168s returns 1 for [{"A"=>"aye"}] 168s returns 3 for [{"A"=>"bee", "B"=>"bee", "C"=>"see"}] 168s has the correct size after adding lots of things with colliding keys and such 168s has the correct size after lots of addings and removings 168s #length 168s returns 0 for [] 168s returns 1 for [{"A"=>"aye"}] 168s returns 3 for [{"A"=>"bee", "B"=>"bee", "C"=>"see"}] 168s has the correct size after adding lots of things with colliding keys and such 168s has the correct size after lots of addings and removings 168s 168s Hamster::Hash 168s #slice 168s with all keys present in the Hash 168s returns the sliced values 168s doesn't modify the original Hash 168s with keys aren't present in the Hash 168s returns the sliced values of the matching keys 168s doesn't modify the original Hash 168s on a Hash with a default block 168s maintains the default block 168s 168s Hamster::Hash 168s #sort 168s returns a Vector of sorted key/val pairs 168s works on large hashes 168s uses block as comparator to sort if passed a block 168s #sort_by 168s returns a Vector of key/val pairs, sorted using the block as a key function 168s 168s Hamster::Hash 168s #store 168s with a unique key 168s preserves the original 168s returns a copy with the superset of key/value pairs 168s with a duplicate key 168s preserves the original 168s returns a copy with the superset of key/value pairs 168s with duplicate key and identical value 168s returns the original hash unmodified 168s with big hash (force nested tries) 168s returns the original hash unmodified for all changes 168s with unequal keys which hash to the same value 168s stores and can retrieve both 168s when a String is inserted as key and then mutated 168s is not affected 168s 168s Hamster::Hash 168s #<= 168s for {} and {} 168s returns true 168s for {"A"=>1} and {} 168s returns false 168s for {} and {"A"=>1} 168s returns true 168s for {"A"=>1} and {"A"=>1} 168s returns true 168s for {"A"=>1} and {"A"=>2} 168s returns false 168s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 168s returns true 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 168s returns false 168s for {"B"=>0} and {"A"=>1, "B"=>2, "C"=>3} 168s returns false 168s #< 168s for {} and {} 168s returns false 168s for {"A"=>1} and {} 168s returns false 168s for {} and {"A"=>1} 168s returns true 168s for {"A"=>1} and {"A"=>1} 168s returns false 168s for {"A"=>1} and {"A"=>2} 168s returns false 168s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 168s returns true 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 168s returns false 168s for {"B"=>0} and {"A"=>1, "B"=>2, "C"=>3} 168s returns false 168s 168s Hamster::Hash 168s #>= 168s for {} and {} 168s returns true 168s for {"A"=>1} and {} 168s returns true 168s for {} and {"A"=>1} 168s returns false 168s for {"A"=>1} and {"A"=>1} 168s returns true 168s for {"A"=>1} and {"A"=>2} 168s returns false 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 168s returns true 168s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 168s returns false 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>0} 168s returns false 168s #> 168s for {} and {} 168s returns false 168s for {"A"=>1} and {} 168s returns true 168s for {} and {"A"=>1} 168s returns false 168s for {"A"=>1} and {"A"=>1} 168s returns false 168s for {"A"=>1} and {"A"=>2} 168s returns false 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 168s returns true 168s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 168s returns false 168s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>0} 168s returns false 168s 168s Hamster::Hash 168s #take 168s returns the first N key/val pairs from hash 168s #take_while 168s passes elements to the block until the block returns nil/false 168s returns an array of all elements before the one which returned nil/false 168s passes all elements if the block never returns nil/false 168s 168s Hamster::Hash 168s #to_a 168s returns an Array of [key, value] pairs in same order as #each 168s 168s Hamster::Hash 168s #to_hash 168s converts an empty Hamster::Hash to an empty Ruby Hash 168s converts a non-empty Hamster::Hash to a Hash with the same keys and values 168s doesn't modify the receiver 168s #to_h 168s converts an empty Hamster::Hash to an empty Ruby Hash 168s converts a non-empty Hamster::Hash to a Hash with the same keys and values 168s doesn't modify the receiver 168s 168s Hamster::Hash 168s #to_proc 168s on Hash without default proc 168s returns a Proc instance 168s returns a Proc that returns the value of an existing key 168s returns a Proc that returns nil for a missing key 168s on Hash with a default proc 168s returns a Proc instance 168s returns a Proc that returns the value of an existing key 168s returns a Proc that returns the result of the hash's default proc for a missing key 168s 168s Hamster::Hash 168s #values_at 168s on Hash without default proc 168s returns an empty vector when no keys are given 168s returns a vector of values for the given keys 168s fills nil when keys are missing 168s on Hash with default proc 168s fills the result of the default proc when keys are missing 168s 168s Hamster::Hash 168s #values 168s returns the keys as a Vector 168s with duplicates 168s returns the keys as a Vector 168s 168s Hamster::Immutable 168s #dup 168s returns self 168s #clone 168s returns self 168s 168s Hamster::Immutable 168s #immutable? 168s object constructed after its class becomes Immutable 168s returns true 168s object constructed before its class becomes Immutable 168s that are not frozen 168s returns false 168s that are frozen 168s returns true 168s 168s Hamster::Immutable 168s #memoize 168s keeps the receiver frozen and immutable 168s when called multiple times 168s doesn't evaluate the memoized method more than once 168s when making a copy 168s clears all memory 168s 168s Hamster::Immutable 168s freezes the instance 168s subclass hides all public methods 168s freezes the instance 168s 168s Hamster::Immutable 168s #transform 168s preserves the original 168s returns a new instance with the updated values 168s 168s Hamster::Immutable 168s #transform_unless 168s when the condition is false 168s preserves the original 168s returns a new instance with the updated values 168s when the condition is true 168s preserves the original 168s returns the original 168s 168s Hamster::List 168s #add 168s on [] with "A" 168s preserves the original 168s returns ["A"] 168s on ["A"] with "B" 168s preserves the original 168s returns ["B", "A"] 168s on ["A"] with "A" 168s preserves the original 168s returns ["A", "A"] 168s on ["A", "B", "C"] with "D" 168s preserves the original 168s returns ["D", "A", "B", "C"] 168s 168s Hamster::List 168s #all? 168s on a really big list 168s doesn't run out of stack 168s when empty 168s with a block returns true 168s with no block returns true 168s when not empty 168s with a block 168s if the block always returns true 168s returns true 168s if the block ever returns false 168s returns false 168s with no block 168s if all values are truthy 168s returns true 168s if any value is nil 168s returns false 168s if any value is false 168s returns false 168s 168s Hamster::List 168s #any? 168s on a really big list 168s doesn't run out of stack 168s when empty 168s with a block returns false 168s with no block returns false 168s when not empty 168s with a block 168s returns true if the block ever returns true ("A") 168s returns true if the block ever returns true ("B") 168s returns true if the block ever returns true ("C") 168s returns true if the block ever returns true (nil) 168s returns false if the block always returns false 168s with no block 168s returns true if any value is truthy 168s returns false if all values are falsey 168s 168s Hamster::List 168s #append 168s is lazy 168s on [] and [] 168s preserves the left 168s preserves the right 168s returns [] 168s on ["A"] and [] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on [] and ["A"] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on ["A", "B"] and ["C", "D"] 168s preserves the left 168s preserves the right 168s returns ["A", "B", "C", "D"] 168s #concat 168s is lazy 168s on [] and [] 168s preserves the left 168s preserves the right 168s returns [] 168s on ["A"] and [] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on [] and ["A"] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on ["A", "B"] and ["C", "D"] 168s preserves the left 168s preserves the right 168s returns ["A", "B", "C", "D"] 168s #+ 168s is lazy 168s on [] and [] 168s preserves the left 168s preserves the right 168s returns [] 168s on ["A"] and [] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on [] and ["A"] 168s preserves the left 168s preserves the right 168s returns ["A"] 168s on ["A", "B"] and ["C", "D"] 168s preserves the left 168s preserves the right 168s returns ["A", "B", "C", "D"] 168s 168s Hamster::List 168s #at 168s on a really big list 168s doesn't run out of stack 168s [] with 10 168s returns nil 168s ["A"] with 10 168s returns nil 168s ["A", "B", "C"] with 0 168s returns "A" 168s ["A", "B", "C"] with 2 168s returns "C" 168s ["A", "B", "C"] with -1 168s returns "C" 168s ["A", "B", "C"] with -2 168s returns "B" 168s ["A", "B", "C"] with -4 168s returns nil 168s 168s Hamster::List 168s #break 168s is lazy 168s on [] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [1] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [1, 2] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [1, 2, 3] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [1, 2, 3, 4] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [2, 3, 4] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [3, 4] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s on [4] 168s with a block 168s preserves the original 168s returns a frozen array with two items 168s correctly identifies the prefix 168s correctly identifies the remainder 168s without a block 168s returns a frozen array with two items 168s returns self as the prefix 168s leaves the remainder empty 168s 168s Hamster::List 168s #car 168s is responded to 168s on [] 168s preserves the original 168s returns nil 168s #car 168s is responded to 168s on ["A"] 168s preserves the original 168s returns "A" 168s #car 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns "A" 168s #cadr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns "B" 168s #caddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns "C" 168s #cadddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns nil 168s #caddddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns nil 168s #cdr 168s is responded to 168s on [] 168s preserves the original 168s returns Hamster::List[] 168s #cdr 168s is responded to 168s on ["A"] 168s preserves the original 168s returns Hamster::List[] 168s #cdr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns Hamster::List["B", "C"] 168s #cddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns Hamster::List["C"] 168s #cdddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns Hamster::List[] 168s #cddddr 168s is responded to 168s on ["A", "B", "C"] 168s preserves the original 168s returns Hamster::List[] 168s 168s Hamster::List 168s #chunk 168s is lazy 168s on [] 168s preserves the original 168s returns [] 168s on ["A"] 168s preserves the original 168s returns [Hamster::List["A"]] 168s on ["A", "B", "C"] 168s preserves the original 168s returns [Hamster::List["A", "B"], Hamster::List["C"]] 168s 168s Hamster::List 168s #clear 168s on [] 168s preserves the original 168s returns an empty list 168s on ["A"] 168s preserves the original 168s returns an empty list 168s on ["A", "B", "C"] 168s preserves the original 168s returns an empty list 168s 168s Hamster::List 168s #combination 168s is lazy 168s on ["A", "B", "C", "D"] in groups of 1 168s preserves the original 168s returns [Hamster::List["A"], Hamster::List["B"], Hamster::List["C"], Hamster::List["D"]] 168s on ["A", "B", "C", "D"] in groups of 2 168s preserves the original 168s returns [Hamster::List["A", "B"], Hamster::List["A", "C"], Hamster::List["A", "D"], Hamster::List["B", "C"], Hamster::List["B", "D"], Hamster::List["C", "D"]] 168s on ["A", "B", "C", "D"] in groups of 3 168s preserves the original 168s returns [Hamster::List["A", "B", "C"], Hamster::List["A", "B", "D"], Hamster::List["A", "C", "D"], Hamster::List["B", "C", "D"]] 168s on ["A", "B", "C", "D"] in groups of 4 168s preserves the original 168s returns [Hamster::List["A", "B", "C", "D"]] 168s on ["A", "B", "C", "D"] in groups of 0 168s preserves the original 168s returns [Hamster::List[]] 168s on ["A", "B", "C", "D"] in groups of 5 168s preserves the original 168s returns [] 168s on [] in groups of 0 168s preserves the original 168s returns [Hamster::List[]] 168s on [] in groups of 1 168s preserves the original 168s returns [] 168s 168s Hamster::List 168s #compact 168s is lazy 168s on [] 168s preserves the original 168s returns [] 168s on ["A"] 168s preserves the original 168s returns ["A"] 168s on ["A", "B", "C"] 168s preserves the original 168s returns ["A", "B", "C"] 168s on [nil] 168s preserves the original 168s returns [] 168s on [nil, "B"] 168s preserves the original 168s returns ["B"] 168s on ["A", nil] 168s preserves the original 168s returns ["A"] 168s on [nil, nil] 168s preserves the original 168s returns [] 168s on ["A", nil, "C"] 168s preserves the original 168s returns ["A", "C"] 168s on [nil, "B", nil] 168s preserves the original 168s returns ["B"] 168s 168s Hamster::List 168s #<=> 168s with [] and [1] 168s returns -1 168s with [1] and [] 168s returns 1 168s with [] and [] 168s returns 0 168s with [1] and [2] 168s returns -1 168s with [2] and [1] 168s returns 1 168s with [1] and [1] 168s returns 0 168s with [1] and [1, 2] 168s returns -1 168s with [1, 2] and [1] 168s returns 1 168s with [1] and [1] 168s returns 0 168s with [2, 3, 4] and [3, 4, 5] 168s returns -1 168s with [3, 4, 5] and [2, 3, 4] 168s returns 1 168s with [2, 3, 4] and [2, 3, 4] 168s returns 0 168s 168s Hamster::List 168s #cons 168s on [] with "A" 168s preserves the original 168s returns ["A"] 168s on ["A"] with "B" 168s preserves the original 168s returns ["B", "A"] 168s on ["A"] with "A" 168s preserves the original 168s returns ["A", "A"] 168s on ["A", "B", "C"] with "D" 168s preserves the original 168s returns ["D", "A", "B", "C"] 168s 168s Hamster 168s .list 168s with no arguments 168s always returns the same instance 168s returns an empty list 168s with a number of items 168s always returns a different instance 168s is the same as repeatedly using #cons 168s .stream 168s with no block 168s returns an empty list 168s with a block 168s repeatedly calls the block 168s .interval 168s for numbers 168s is equivalent to a list with explicit values 168s for strings 168s is equivalent to a list with explicit values 168s .repeat 168s returns an infinite list with specified value for each element 168s .replicate 168s returns a list with the specified value repeated the specified number of times 168s .iterate 168s returns an infinite list where the first item is calculated by applying the block on the initial argument, the second item by applying the function on the previous result and so on 168s .enumerate 168s returns a list based on the values yielded from the enumerator 168s WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /tmp/autopkgtest.D2NvST/build.OoF/src/spec/lib/hamster/list/construction_spec.rb:94:in `block (3 levels) in '. 168s realizes values as they are needed 168s [] 168s takes a variable number of items and returns a list 168s returns an empty list when called without arguments 168s 168s Hamster::List 168s on [] 168s returns self 168s on ["A"] 168s returns self 168s on ["A", "B", "C"] 168s returns self 168s on [] 168s returns self 168s on ["A"] 168s returns self 168s on ["A", "B", "C"] 168s returns self 168s 168s Hamster::List 168s #count 168s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s returns 0 169s without a block 169s returns length 169s on [1] 169s with a block 169s returns 1 169s without a block 169s returns length 169s on [1, 2] 169s with a block 169s returns 1 169s without a block 169s returns length 169s on [1, 2, 3] 169s with a block 169s returns 2 169s without a block 169s returns length 169s on [1, 2, 3, 4] 169s with a block 169s returns 2 169s without a block 169s returns length 169s on [1, 2, 3, 4, 5] 169s with a block 169s returns 3 169s without a block 169s returns length 169s 169s Hamster 169s #cycle 169s is lazy 169s with an empty list 169s returns an empty list 169s with a non-empty list 169s preserves the original 169s infinitely cycles through all values 169s 169s Hamster::List 169s #delete_at 169s removes the element at the specified index 169s makes no modification if the index is out of range 169s 169s Hamster::List 169s #delete 169s removes elements that are #== to the argument 169s 169s Hamster::List 169s #drop 169s is lazy 169s with 10 from [] 169s preserves the original 169s returns [] 169s with 10 from ["A"] 169s preserves the original 169s returns [] 169s with -1 from ["A"] 169s preserves the original 169s returns ["A"] 169s with 0 from ["A", "B", "C"] 169s preserves the original 169s returns ["A", "B", "C"] 169s with 2 from ["A", "B", "C"] 169s preserves the original 169s returns ["C"] 169s 169s Hamster::List 169s #drop_while 169s is lazy 169s on [] 169s with a block 169s preserves the original 169s returns [] 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s preserves the original 169s returns [] 169s without a block 169s returns an Enumerator 169s on ["A", "B", "C"] 169s with a block 169s preserves the original 169s returns ["C"] 169s without a block 169s returns an Enumerator 169s 169s Hamster::List 169s #each_chunk 169s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s on ["A"] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s on ["A", "B", "C"] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s #each_slice 169s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s on ["A"] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s on ["A", "B", "C"] 169s with a block 169s preserves the original 169s iterates over the items in order 169s returns self 169s without a block 169s preserves the original 169s returns an Enumerator 169s 169s Hamster::List 169s #each 169s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s iterates over the items in order 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s iterates over the items in order 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A", "B", "C"] 169s with a block 169s iterates over the items in order 169s returns nil 169s without a block 169s returns an Enumerator 169s 169s Hamster::List 169s #each_with_index 169s with no block 169s returns an Enumerator 169s with a block 169s returns self 169s iterates over the items in order, yielding item and index 169s 169s Hamster::List 169s #empty? 169s on a really big list 169s doesn't run out of stack 169s on [] 169s returns true 169s on ["A"] 169s returns false 169s on ["A", "B", "C"] 169s returns false 169s 169s Hamster::List 169s Hamster::List["A", "B", "C"] should == ["A", "B", "C"] 169s Hamster::List["A", "B", "C"] should not eql? ["A", "B", "C"] 169s Hamster::List["A", "B", "C"] should not == # 169s Hamster::List["A", "B", "C"] should not eql? # 169s Hamster::List[] should == [] 169s Hamster::List[] should not eql? [] 169s Hamster::List[] should eql? Hamster::List[] 169s Hamster::List[] should == Hamster::List[] 169s Hamster::List[] should not eql? Hamster::List[nil] 169s Hamster::List["A"] should not eql? Hamster::List[] 169s Hamster::List["A"] should eql? Hamster::List["A"] 169s Hamster::List["A"] should == Hamster::List["A"] 169s Hamster::List["A"] should not eql? Hamster::List["B"] 169s Hamster::List["A", "B"] should not eql? Hamster::List["A"] 169s Hamster::List["A", "B", "C"] should eql? Hamster::List["A", "B", "C"] 169s Hamster::List["A", "B", "C"] should == Hamster::List["A", "B", "C"] 169s Hamster::List["C", "A", "B"] should not eql? Hamster::List["A", "B", "C"] 169s Hamster::List["A"] should == ["A"] 169s ["A"] should == Hamster::List["A"] 169s Hamster::List["A"] should not eql? ["A"] 169s ["A"] should not eql? Hamster::List["A"] 169s #eql? 169s on a really big list 169s doesn't run out of stack 169s 169s Hamster::List 169s #fill 169s can replace a range of items at the beginning of a list 169s can replace a range of items in the middle of a list 169s can replace a range of items at the end of a list 169s can replace all the items in a list 169s can fill past the end of the list 169s is lazy 169s with 1 argument 169s replaces all the items in the list by default 169s with 2 arguments 169s replaces up to the end of the list by default 169s when index and length are 0 169s leaves the list unmodified 169s 169s Hamster::List 169s #find_all 169s is lazy 169s with an empty array 169s with a block 169s preserves the original 169s returns the found list 169s without a block 169s returns an Enumerator 169s with a single item array 169s with a block 169s preserves the original 169s returns the found list 169s without a block 169s returns an Enumerator 169s with a multi-item array 169s with a block 169s preserves the original 169s returns the found list 169s without a block 169s returns an Enumerator 169s with a multi-item single find_allable array 169s with a block 169s preserves the original 169s returns the found list 169s without a block 169s returns an Enumerator 169s with a multi-item multi-find_allable array 169s with a block 169s preserves the original 169s returns the found list 169s without a block 169s returns an Enumerator 169s 169s Hamster::List 169s #find_index 169s on a really big list 169s doesn't run out of stack 169s looking for "A" in [] 169s returns nil 169s looking for nil in [] 169s returns nil 169s looking for "A" in ["A"] 169s returns 0 169s looking for "B" in ["A"] 169s returns nil 169s looking for nil in ["A"] 169s returns nil 169s looking for "A" in ["A", "B", nil] 169s returns 0 169s looking for "B" in ["A", "B", nil] 169s returns 1 169s looking for nil in ["A", "B", nil] 169s returns 2 169s looking for "C" in ["A", "B", nil] 169s returns nil 169s looking for 2 in [2] 169s returns 0 169s looking for 2.0 in [2] 169s returns 0 169s looking for 2.0 in [2.0] 169s returns 0 169s looking for 2 in [2.0] 169s returns 0 169s #index 169s on a really big list 169s doesn't run out of stack 169s looking for "A" in [] 169s returns nil 169s looking for nil in [] 169s returns nil 169s looking for "A" in ["A"] 169s returns 0 169s looking for "B" in ["A"] 169s returns nil 169s looking for nil in ["A"] 169s returns nil 169s looking for "A" in ["A", "B", nil] 169s returns 0 169s looking for "B" in ["A", "B", nil] 169s returns 1 169s looking for nil in ["A", "B", nil] 169s returns 2 169s looking for "C" in ["A", "B", nil] 169s returns nil 169s looking for 2 in [2] 169s returns 0 169s looking for 2.0 in [2] 169s returns 0 169s looking for 2.0 in [2.0] 169s returns 0 169s looking for 2 in [2.0] 169s returns 0 169s 169s Hamster::List 169s #find 169s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on [] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns "A" 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns "A" 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns "B" 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s #detect 169s on a really big list 169s doesn't run out of stack 169s on [] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on [] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns "A" 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A"] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns "A" 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns "B" 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s on ["A", "B", nil] 169s with a block 169s returns nil 169s without a block 169s returns an Enumerator 169s 169s Hamster::List 169s #flat_map 169s with an empty list 169s returns the flattened values as a Hamster::List 169s returns a Hamster::List 169s with a block that returns an empty list 169s returns the flattened values as a Hamster::List 169s returns a Hamster::List 169s with a list of one item 169s returns the flattened values as a Hamster::List 169s returns a Hamster::List 169s with a list of multiple items 169s returns the flattened values as a Hamster::List 169s returns a Hamster::List 169s 169s Hamster 169s #flatten 169s is lazy 169s on [] 169s preserves the original 169s returns an empty list 169s on ["A"] 169s preserves the original 169s returns an empty list 169s on ["A", "B", "C"] 169s preserves the original 169s returns an empty list 169s on ["A", Hamster::List["B"], "C"] 169s preserves the original 169s returns an empty list 169s on [Hamster::List["A"], Hamster::List["B"], Hamster::List["C"]] 169s preserves the original 169s returns an empty list 169s 169s Hamster::List 169s #grep 169s is lazy 169s without a block 169s on [] 169s returns [] 169s on ["A"] 169s returns ["A"] 169s on [1] 169s returns [] 169s on ["A", 2, "C"] 169s returns ["A", "C"] 169s with a block 169s on [] 169s preserves the original 169s returns [] 169s on ["A"] 169s preserves the original 169s returns ["a"] 169s on [1] 169s preserves the original 169s returns [] 169s on ["A", 2, "C"] 169s preserves the original 169s returns ["a", "c"] 169s 169s Hamster::List 169s #group_by 169s on a really big list 169s doesn't run out of stack 169s with a block 169s on [] 169s returns [] 169s on [1] 169s returns [{true=>Hamster::List[1]}] 169s on [1, 2, 3, 4] 169s returns [{true=>Hamster::List[3, 1], false=>Hamster::List[4, 2]}] 169s without a block 169s on [] 169s returns [] 169s on [1] 169s returns [{1=>Hamster::List[1]}] 169s on [1, 2, 3, 4] 169s returns [{1=>Hamster::List[1], 2=>Hamster::List[2], 3=>Hamster::List[3], 4=>Hamster::List[4]}] 169s #group 169s on a really big list 169s doesn't run out of stack 169s with a block 169s on [] 169s returns [] 169s on [1] 169s returns [{true=>Hamster::List[1]}] 169s on [1, 2, 3, 4] 169s returns [{true=>Hamster::List[3, 1], false=>Hamster::List[4, 2]}] 169s without a block 169s on [] 169s returns [] 169s on [1] 169s returns [{1=>Hamster::List[1]}] 169s on [1, 2, 3, 4] 169s returns [{1=>Hamster::List[1], 2=>Hamster::List[2], 3=>Hamster::List[3], 4=>Hamster::List[4]}] 169s 169s Hamster::List 169s #hash 169s values are sufficiently distributed 169s on a really big list 169s doesn't run out of stack 169s on an empty list 169s returns 0 169s 169s Hamster::List 169s #head 169s on [] 169s returns nil 169s on ["A"] 169s returns "A" 169s on ["A", "B", "C"] 169s returns "A" 169s #first 169s on [] 169s returns nil 169s on ["A"] 169s returns "A" 169s on ["A", "B", "C"] 169s returns "A" 169s 169s Hamster::List 169s #include? 169s on a really big list 169s doesn't run out of stack 169s on [] 169s returns false 169s on [] 169s returns false 169s on ["A"] 169s returns true 169s on ["A"] 169s returns false 169s on ["A"] 169s returns false 169s on ["A", "B", nil] 169s returns true 169s on ["A", "B", nil] 169s returns true 169s on ["A", "B", nil] 169s returns true 169s on ["A", "B", nil] 169s returns false 169s on [2] 169s returns true 169s on [2] 169s returns true 169s on [2.0] 169s returns true 169s on [2.0] 169s returns true 169s #member? 169s on a really big list 170s doesn't run out of stack 170s on [] 170s returns false 170s on [] 170s returns false 170s on ["A"] 170s returns true 170s on ["A"] 170s returns false 170s on ["A"] 170s returns false 170s on ["A", "B", nil] 170s returns true 170s on ["A", "B", nil] 170s returns true 170s on ["A", "B", nil] 170s returns true 170s on ["A", "B", nil] 170s returns false 170s on [2] 170s returns true 170s on [2] 170s returns true 170s on [2.0] 170s returns true 170s on [2.0] 170s returns true 170s 170s Hamster::List 170s #index 170s on a really big list 170s doesn't run out of stack 170s looking for "A" in [] 170s returns nil 170s looking for nil in [] 170s returns nil 170s looking for "A" in ["A"] 170s returns 0 170s looking for "B" in ["A"] 170s returns nil 170s looking for nil in ["A"] 170s returns nil 170s looking for "A" in ["A", "B", nil] 170s returns 0 170s looking for "B" in ["A", "B", nil] 170s returns 1 170s looking for nil in ["A", "B", nil] 170s returns 2 170s looking for "C" in ["A", "B", nil] 170s returns nil 170s looking for 2 in [2] 170s returns 0 170s looking for 2.0 in [2] 170s returns 0 170s looking for 2.0 in [2.0] 170s returns 0 170s looking for 2 in [2.0] 170s returns 0 170s 170s Hamster::List 170s #indices 170s when called with a block 170s is lazy 170s on a large list which doesn't contain desired item 170s doesn't blow the stack 170s looking for "A" in [] 170s returns [] 170s looking for "B" in ["A"] 170s returns [] 170s looking for "B" in ["A", "B", "A"] 170s returns [1] 170s looking for "A" in ["A", "B", "A"] 170s returns [0, 2] 170s looking for 2 in [2] 170s returns [0] 170s looking for 2.0 in [2] 170s returns [0] 170s looking for 2.0 in [2.0] 170s returns [0] 170s looking for 2 in [2.0] 170s returns [0] 170s when called with a single argument 170s is lazy 170s looking for "A" in [] 170s returns [] 170s looking for "B" in ["A"] 170s returns [] 170s looking for "B" in ["A", "B", "A"] 170s returns [1] 170s looking for "A" in ["A", "B", "A"] 170s returns [0, 2] 170s looking for 2 in [2] 170s returns [0] 170s looking for 2.0 in [2] 170s returns [0] 170s looking for 2.0 in [2.0] 170s returns [0] 170s looking for 2 in [2.0] 170s returns [0] 170s 170s Hamster::List 170s #init 170s is lazy 170s on [] 170s preserves the original 170s returns the list without the last element: [] 170s on ["A"] 170s preserves the original 170s returns the list without the last element: [] 170s on ["A", "B", "C"] 170s preserves the original 170s returns the list without the last element: ["A", "B"] 170s 170s Hamster::List 170s #inits 170s is lazy 170s on [] 170s preserves the original 170s returns [] 170s on ["A"] 170s preserves the original 170s returns [Hamster::List["A"]] 170s on ["A", "B", "C"] 170s preserves the original 170s returns [Hamster::List["A"], Hamster::List["A", "B"], Hamster::List["A", "B", "C"]] 170s 170s Hamster::List 170s #insert 170s can add items at the beginning of a list 170s can add items in the middle of a list 170s can add items at the end of a list 170s can add items past the end of a list 170s accepts a negative index, which counts back from the end of the list 170s raises IndexError if a negative index is too great 170s is lazy 170s 170s Hamster::List 170s #inspect 170s on a really big list 170s doesn't run out of stack 170s on [] 170s returns "Hamster::List[]" 170s returns a string which can be eval'd to get an equivalent object 170s on ["A"] 170s returns "Hamster::List[\"A\"]" 170s returns a string which can be eval'd to get an equivalent object 170s on ["A", "B", "C"] 170s returns "Hamster::List[\"A\", \"B\", \"C\"]" 170s returns a string which can be eval'd to get an equivalent object 170s 170s Hamster::List 170s #intersperse 170s is lazy 170s on [] 170s preserves the original 170s returns [] 170s on ["A"] 170s preserves the original 170s returns ["A"] 170s on ["A", "B", "C"] 170s preserves the original 170s returns ["A", "|", "B", "|", "C"] 170s 170s Hamster::List 170s #join 170s on a really big list 170s doesn't run out of stack 170s with a separator 170s on [] 170s preserves the original 170s returns "" 170s on ["A"] 170s preserves the original 170s returns "A" 170s on ["A", "B", "C"] 170s preserves the original 170s returns "A|B|C" 170s without a separator 170s on [] 170s preserves the original 170s returns "" 170s on ["A"] 170s preserves the original 170s returns "A" 170s on ["A", "B", "C"] 170s preserves the original 170s returns "ABC" 170s without a separator (with global default separator set) 170s uses the default global separator 170s 170s Hamster::List 170s #last 170s on a really big list 170s doesn't run out of stack 170s on [] 170s returns nil 170s on ["A"] 170s returns "A" 170s on ["A", "B", "C"] 170s returns "C" 170s 170s Hamster::List 170s #<< 170s adds an item onto the end of a list 170s on an empty list 170s returns a list with one item 170s 170s Hamster::List 170s #map 170s is lazy 170s on [] 170s with a block 170s preserves the original 170s returns [] 170s is lazy 170s without a block 170s returns an Enumerator 170s on ["A"] 170s with a block 170s preserves the original 170s returns ["a"] 170s is lazy 170s without a block 170s returns an Enumerator 170s on ["A", "B", "C"] 170s with a block 170s preserves the original 170s returns ["a", "b", "c"] 170s is lazy 170s without a block 170s returns an Enumerator 170s #collect 170s is lazy 170s on [] 170s with a block 170s preserves the original 170s returns [] 170s is lazy 170s without a block 170s returns an Enumerator 170s on ["A"] 170s with a block 170s preserves the original 170s returns ["a"] 170s is lazy 170s without a block 170s returns an Enumerator 170s on ["A", "B", "C"] 170s with a block 170s preserves the original 170s returns ["a", "b", "c"] 170s is lazy 170s without a block 170s returns an Enumerator 170s 170s Hamster::List 170s #max 170s on a really big list 170s doesn't run out of stack 170s with a block 170s on [] 170s returns nil 170s on ["A"] 170s returns "A" 170s on ["Ichi", "Ni", "San"] 170s returns "Ichi" 170s without a block 170s on [] 170s returns nil 170s on ["A"] 170s returns "A" 170s on ["Ichi", "Ni", "San"] 170s returns "San" 170s 170s Hamster::List 170s without a comparator 170s on an empty list 170s returns an empty list 170s on a single list 170s returns the list 170s with multiple lists 170s merges the lists based on natural sort order 170s with a comparator 170s on an empty list 170s returns an empty list 170s on a single list 170s returns the list 170s with multiple lists 170s merges the lists based on the specified transformer 170s 170s Hamster::List 170s without a comparator 170s on an empty list 170s returns an empty list 170s on a single list 170s returns the list 170s with multiple lists 170s merges the lists based on natural sort order 170s with a comparator 170s on an empty list 170s returns an empty list 170s on a single list 170s returns the list 170s with multiple lists 170s merges the lists based on the specified comparator 170s 170s Hamster::List 170s #min 170s on a really big list 170s doesn't run out of stack 170s with a block 170s on [] 170s returns nil 170s on ["A"] 170s returns "A" 170s on ["Ichi", "Ni", "San"] 170s returns "Ni" 170s without a block 170s on [] 170s returns nil 170s on ["A"] 170s returns "A" 170s on ["Ichi", "Ni", "San"] 170s returns "Ichi" 170s 170s Hamster::List 170s ensures each node of a lazy list will only be realized on ONE thread, even when accessed by multiple threads 170s doesn't go into an infinite loop if lazy list block raises an exception 170s doesn't give horrendously bad performance if thread realizing the list sleeps (PENDING: Temporarily skipped with xit) 170s 170s Hamster::List 170s #none? 170s on a really big list 170s doesn't run out of stack 170s when empty 170s with a block returns true 170s with no block returns true 170s when not empty 170s with a block 170s returns false if the block ever returns true ("A") 170s returns false if the block ever returns true ("B") 170s returns false if the block ever returns true ("C") 170s returns false if the block ever returns true (nil) 170s returns true if the block always returns false 170s with no block 170s returns false if any value is truthy 170s returns true if all values are falsey 170s 170s Hamster::List 170s #one? 170s on a really big list 170s doesn't run out of stack 170s when empty 170s with a block returns false 170s with no block returns false 170s when not empty 170s with a block 170s returns false if the block returns true more than once 170s returns false if the block never returns true 170s returns true if the block only returns true once 170s with no block 170s returns false if more than one value is truthy 170s returns true if only one value is truthy 170s 170s Hamster::List 170s #partition 170s is lazy 170s calls the passed block only once for each item 170s returns a lazy list of items for which predicate is true 170s returns a lazy list of items for which predicate is false 170s calls the passed block only once for each item, even with multiple threads 170s on [] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [1] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [1, 2] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [1, 2, 3] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [1, 2, 3, 4] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [2, 3, 4] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [3, 4] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s on [4] 170s with a block 170s preserves the original 170s returns a frozen array with two items 170s correctly identifies the matches 170s correctly identifies the remainder 170s without a block 170s returns an Enumerator 170s 170s Hamster::List 170s #permutation 170s with no block 170s returns an Enumerator 170s with no argument 170s yields all permutations of the list 170s with a length argument 170s yields all N-size permutations of the list 170s with a length argument greater than length of list 170s yields nothing 170s with a length argument of 0 170s yields an empty list 170s with a block 170s returns the original list 170s 170s Hamster::List 170s #pop 170s with an empty list 170s returns an empty list 170s with a list with a few items 170s removes the last item 170s 170s Hamster::List 170s #product 170s on a really big list 170s doesn't run out of stack 170s on [] 170s returns 1 170s on [2] 170s returns 2 170s on [1, 3, 5, 7, 11] 170s returns 1155 170s 170s Hamster::List 170s #reduce 170s on a really big list 171s doesn't run out of stack 171s on [] 171s with an initial value of 10 and a block 171s returns 10 171s on [1] 171s with an initial value of 10 and a block 171s returns 9 171s on [1, 2, 3] 171s with an initial value of 10 and a block 171s returns 4 171s on [] 171s with no initial value and a block 171s returns nil 171s on [1] 171s with no initial value and a block 171s returns 1 171s on [1, 2, 3] 171s with no initial value and a block 171s returns -4 171s with no block and a symbol argument 171s uses the symbol as the name of a method to reduce with 171s with no block and a string argument 171s uses the string as the name of a method to reduce with 171s #inject 171s on a really big list 171s doesn't run out of stack 171s on [] 171s with an initial value of 10 and a block 171s returns 10 171s on [1] 171s with an initial value of 10 and a block 171s returns 9 171s on [1, 2, 3] 171s with an initial value of 10 and a block 171s returns 4 171s on [] 171s with no initial value and a block 171s returns nil 171s on [1] 171s with no initial value and a block 171s returns 1 171s on [1, 2, 3] 171s with no initial value and a block 171s returns -4 171s with no block and a symbol argument 171s uses the symbol as the name of a method to reduce with 171s with no block and a string argument 171s uses the string as the name of a method to reduce with 171s 171s Hamster::List 171s #reject 171s is lazy 171s on [] 171s with a block 171s returns [] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns ["A"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A", "B", "C"] 171s with a block 171s returns ["A", "B", "C"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A", "b", "C"] 171s with a block 171s returns ["A", "C"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["a", "b", "c"] 171s with a block 171s returns [] 171s is lazy 171s without a block 171s returns an Enumerator 171s #delete_if 171s is lazy 171s on [] 171s with a block 171s returns [] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns ["A"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A", "B", "C"] 171s with a block 171s returns ["A", "B", "C"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A", "b", "C"] 171s with a block 171s returns ["A", "C"] 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["a", "b", "c"] 171s with a block 171s returns [] 171s is lazy 171s without a block 171s returns an Enumerator 171s 171s Hamster::List 171s #reverse 171s is lazy 171s on a really big list 171s doesn't run out of stack 171s on [] 171s preserves the original 171s returns [] 171s on ["A"] 171s preserves the original 171s returns ["A"] 171s on ["A", "B", "C"] 171s preserves the original 171s returns ["C", "B", "A"] 171s 171s Hamster::List 171s #rotate 171s when passed no argument 171s returns a new list with the first element moved to the end 171s with an integral argument n 171s returns a new list with the first (n % size) elements moved to the end 171s with a non-numeric argument 171s raises a TypeError 171s with an argument of zero (or one evenly divisible by list length) 171s it returns self 171s 171s Hamster::List 171s #sample 171s returns a randomly chosen item 171s 171s Hamster::List 171s #select 171s is lazy 171s with an empty array 171s with a block 171s preserves the original 171s returns the selected list 171s without a block 171s returns an Enumerator 171s with a single item array 171s with a block 171s preserves the original 171s returns the selected list 171s without a block 171s returns an Enumerator 171s with a multi-item array 171s with a block 171s preserves the original 171s returns the selected list 171s without a block 171s returns an Enumerator 171s with a multi-item single selectable array 171s with a block 171s preserves the original 171s returns the selected list 171s without a block 171s returns an Enumerator 171s with a multi-item multi-selectable array 171s with a block 171s preserves the original 171s returns the selected list 171s without a block 171s returns an Enumerator 171s 171s Hamster::List 171s #size 171s on a really big list 171s doesn't run out of stack 171s on [] 171s returns 0 171s on ["A"] 171s returns 1 171s on ["A", "B", "C"] 171s returns 3 171s #length 171s on a really big list 171s doesn't run out of stack 171s on [] 171s returns 0 171s on ["A"] 171s returns 1 171s on ["A", "B", "C"] 171s returns 3 171s 171s Hamster::List 171s #slice 171s when passed a positive integral index 171s returns the element at that index 171s leaves the original unchanged 171s when passed a negative integral index 171s returns the element which is number (index.abs) counting from the end of the list 171s when passed a positive integral index and count 171s returns 'count' elements starting from 'index' 171s leaves the original unchanged 171s when passed a negative integral index and count 171s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 171s when passed a Range 171s returns the elements whose indexes are within the given Range 171s leaves the original unchanged 171s when passed a subclass of Range 171s works the same as with a Range 171s #[] 171s when passed a positive integral index 171s returns the element at that index 171s leaves the original unchanged 171s when passed a negative integral index 171s returns the element which is number (index.abs) counting from the end of the list 171s when passed a positive integral index and count 171s returns 'count' elements starting from 'index' 171s leaves the original unchanged 171s when passed a negative integral index and count 171s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 171s when passed a Range 171s returns the elements whose indexes are within the given Range 171s leaves the original unchanged 171s when passed a subclass of Range 171s works the same as with a Range 171s 171s Hamster::List 171s #sort 171s is lazy 171s on [] 171s with a block 171s preserves the original 171s returns [] 171s without a block 171s preserves the original 171s returns [] 171s on ["A"] 171s with a block 171s preserves the original 171s returns ["A"] 171s without a block 171s preserves the original 171s returns ["A"] 171s on ["Ichi", "Ni", "San"] 171s with a block 171s preserves the original 171s returns ["Ni", "San", "Ichi"] 171s without a block 171s preserves the original 171s returns ["Ichi", "Ni", "San"] 171s #sort_by 171s is lazy 171s on [] 171s with a block 171s preserves the original 171s returns [] 171s without a block 171s preserves the original 171s returns [] 171s on ["A"] 171s with a block 171s preserves the original 171s returns ["A"] 171s without a block 171s preserves the original 171s returns ["A"] 171s on ["Ichi", "Ni", "San"] 171s with a block 171s preserves the original 171s returns ["Ni", "San", "Ichi"] 171s without a block 171s preserves the original 171s returns ["Ichi", "Ni", "San"] 171s 171s Hamster::list#span 171s is lazy 171s given a predicate (in the form of a block), splits the list into two lists 171s (returned as an array) such that elements in the first list (the prefix) are 171s taken from the head of the list while the predicate is satisfied, and elements 171s in the second list (the remainder) are the remaining elements from the list 171s once the predicate is not satisfied. For example: 171s given the list [] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [] 171s returns the remainder as [] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [1] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [1] 171s returns the remainder as [] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [1, 2] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [1, 2] 171s returns the remainder as [] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [1, 2, 3] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [1, 2] 171s returns the remainder as [3] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [1, 2, 3, 4] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [1, 2] 171s returns the remainder as [3, 4] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [2, 3, 4] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [2] 171s returns the remainder as [3, 4] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [3, 4] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [] 171s returns the remainder as [3, 4] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s given the list [4] 171s and a predicate that returns true for values <= 2 171s preserves the original 171s returns the prefix as [] 171s returns the remainder as [4] 171s calls the block only once for each element 171s without a predicate 171s returns a frozen array 171s returns self as the prefix 171s returns an empty list as the remainder 171s 171s Hamster::List 171s #split_at 171s is lazy 171s on [] 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s on [1] 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s on [1, 2] 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s on [1, 2, 3] 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s on [1, 2, 3, 4] 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s 171s Hamster::List 171s #subsequences 171s yields all sublists with 1 or more consecutive items 171s with no block 171s returns an Enumerator 171s 171s Hamster::List 171s #sum 171s on a really big list 171s doesn't run out of stack 171s on [] 171s returns 0 171s on [2] 171s returns 2 171s on [1, 3, 5, 7, 11] 171s returns 27 171s 171s Hamster::List 171s #tail 171s on a really big list 171s doesn't run out of stack 171s on [] 171s preserves the original 171s returns [] 171s on ["A"] 171s preserves the original 171s returns [] 171s on ["A", "B", "C"] 171s preserves the original 171s returns ["B", "C"] 171s 171s Hamster::List 171s #tails 171s is lazy 171s on [] 171s preserves the original 171s returns [] 171s on ["A"] 171s preserves the original 171s returns [Hamster::List["A"]] 171s on ["A", "B", "C"] 171s preserves the original 171s returns [Hamster::List["A", "B", "C"], Hamster::List["B", "C"], Hamster::List["C"]] 171s 171s Hamster::List 171s #take 171s is lazy 171s 10 from [] 171s preserves the original 171s returns [] 171s 10 from ["A"] 171s preserves the original 171s returns ["A"] 171s -1 from ["A"] 171s preserves the original 171s returns [] 171s 0 from ["A", "B", "C"] 171s preserves the original 171s returns [] 171s 2 from ["A", "B", "C"] 171s preserves the original 171s returns ["A", "B"] 171s 171s Hamster::List 171s #take_while 171s is lazy 171s on [] 171s with a block 171s returns [] 171s preserves the original 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns ["A"] 171s preserves the original 171s is lazy 171s without a block 171s returns an Enumerator 171s on ["A", "B", "C"] 171s with a block 171s returns ["A", "B"] 171s preserves the original 171s is lazy 171s without a block 171s returns an Enumerator 171s 171s Hamster::List 171s #to_a 171s on a really big list 171s doesn't run out of stack 171s on [] 171s returns [] 171s leaves the original unchanged 171s returns a mutable array 171s on ["A"] 171s returns ["A"] 171s leaves the original unchanged 171s returns a mutable array 171s on ["A", "B", "C"] 171s returns ["A", "B", "C"] 171s leaves the original unchanged 171s returns a mutable array 171s #entries 171s on a really big list 171s doesn't run out of stack 171s on [] 171s returns [] 171s leaves the original unchanged 171s returns a mutable array 171s on ["A"] 171s returns ["A"] 171s leaves the original unchanged 171s returns a mutable array 171s on ["A", "B", "C"] 171s returns ["A", "B", "C"] 171s leaves the original unchanged 171s returns a mutable array 171s 171s Hamster::List 171s #to_ary 171s on a really big list 171s doesn't run out of stack 171s enables implicit conversion to 171s block parameters 171s method arguments 171s works with splat 171s 171s Hamster::List 171s #to_list 171s on [] 171s returns self 171s on ["A"] 171s returns self 171s on ["A", "B", "C"] 171s returns self 171s 171s Hamster::List 171s #to_set 171s on [] 171s returns a set with the same values 171s on ["A"] 171s returns a set with the same values 171s on ["A", "B", "C"] 171s returns a set with the same values 171s 171s Hamster::List 171s #transpose 171s takes a list of lists and returns a list of all the first elements, all the 2nd elements, and so on 171s only goes as far as the shortest list 171s 171s Hamster::List 171s #union 171s is lazy 171s returns [] 171s for [] and [] 171s for [] and [] 171s returns ["A"] 171s for ["A"] and [] 171s for [] and ["A"] 171s returns ["A", "B", "C"] 171s for ["A", "B", "C"] and [] 171s for [] and ["A", "B", "C"] 171s returns ["A"] 171s for ["A", "A"] and ["A"] 171s for ["A"] and ["A", "A"] 171s #| 171s is lazy 171s returns [] 171s for [] and [] 171s for [] and [] 171s returns ["A"] 171s for ["A"] and [] 171s for [] and ["A"] 171s returns ["A", "B", "C"] 171s for ["A", "B", "C"] and [] 171s for [] and ["A", "B", "C"] 171s returns ["A"] 171s for ["A", "A"] and ["A"] 171s for ["A"] and ["A", "A"] 171s 171s Hamster::List 171s #uniq 171s is lazy 171s when passed a block 171s uses the block to identify duplicates 171s on [] 171s preserves the original 171s returns [] 171s on ["A"] 171s preserves the original 171s returns ["A"] 171s on ["A", "B", "C"] 171s preserves the original 171s returns ["A", "B", "C"] 171s on ["A", "B", "A", "C", "C"] 171s preserves the original 171s returns ["A", "B", "C"] 171s 171s Hamster::List 171s #zip 171s is lazy 171s on [] and [] 171s returns [] 171s on ["A"] and ["aye"] 171s returns [Hamster::List["A", "aye"]] 171s on ["A"] and [] 171s returns [Hamster::List["A", nil]] 171s on [] and ["A"] 171s returns [Hamster::List[nil, "A"]] 171s on ["A", "B", "C"] and ["aye", "bee", "see"] 171s returns [Hamster::List["A", "aye"], Hamster::List["B", "bee"], Hamster::List["C", "see"]] 171s 171s Hamster 171s .from 171s with {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} as input 171s should return Hamster::Hash["e" => Hamster::Hash["g" => 9, "f" => 8], "a" => 1, "h" => /ijk/, "d" => Hamster::Set[5, 6, 7], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4]] 171s with {} as input 171s should return Hamster::Hash[] 171s with {"a"=>1, "b"=>2, "c"=>3} as input 171s should return Hamster::Hash["c" => 3, "a" => 1, "b" => 2] 171s with [] as input 171s should return Hamster::Vector[] 171s with [1, 2, 3] as input 171s should return Hamster::Vector[1, 2, 3] 171s with # as input 171s should return Hamster::Set[] 171s with # as input 171s should return Hamster::Set[1, 2, 3] 171s with 42 as input 171s should return 42 171s with #> as input 171s should return #> 171s with # as input 171s should return Hamster::Hash[:address => nil, :name => nil] 171s with # as input 171s should return Hamster::Hash[:address => "123 Main", :name => "Dave"] 171s with mixed object 171s should return Hamster data 171s .to_ruby 171s with Hamster::Hash["e" => Hamster::Hash["g" => 9, "f" => 8], "a" => 1, "h" => /ijk/, "d" => Hamster::Set[5, 6, 7], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4]] as input 171s should return {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} (PENDING: Temporarily skipped with xit) 171s with Hamster::Hash[] as input 171s should return {} (PENDING: Temporarily skipped with xit) 171s with Hamster::Hash["c" => 3, "a" => 1, "b" => 2] as input 171s should return {"a"=>1, "b"=>2, "c"=>3} (PENDING: Temporarily skipped with xit) 171s with Hamster::Vector[] as input 171s should return [] (PENDING: Temporarily skipped with xit) 171s with Hamster::Vector[1, 2, 3] as input 171s should return [1, 2, 3] (PENDING: Temporarily skipped with xit) 171s with Hamster::Set[] as input 171s should return # (PENDING: Temporarily skipped with xit) 171s with Hamster::Set[1, 2, 3] as input 171s should return # (PENDING: Temporarily skipped with xit) 171s with 42 as input 171s should return 42 (PENDING: Temporarily skipped with xit) 171s with #> as input 171s should return #> (PENDING: Temporarily skipped with xit) 171s with Hamster::Deque[] as input 171s should return [] 171s with Hamster::Deque[Hamster::Hash["a" => 1]] as input 171s should return [{"a" => 1}] 171s with Hamster::SortedSet[] as input 171s should return ::SortedSet.new 171s with Hamster::SortedSet[1, 2, 3] as input 171s should return ::SortedSet.new 171s with mixed object 171s should return Ruby data structures 171s 171s Hamster::Set 171s #add 171s can add nil to a set 171s works on large sets, with many combinations of input 171s with a unique value 171s preserves the original 171s returns a copy with the superset of values 171s with a duplicate value 171s preserves the original values 171s returns self 171s #<< 171s can add nil to a set 171s works on large sets, with many combinations of input 171s with a unique value 171s preserves the original 171s returns a copy with the superset of values 171s with a duplicate value 171s preserves the original values 171s returns self 171s #add? 171s with a unique value 171s preserves the original 171s returns a copy with the superset of values 171s with a duplicate value 171s preserves the original values 171s returns false 171s 171s Hamster::Set 171s #all? 171s when empty 171s with a block returns true 171s with no block returns true 171s when not empty 171s with a block 171s returns true if the block always returns true 171s returns false if the block ever returns false 171s propagates an exception from the block 171s stops iterating as soon as the block returns false 171s with no block 171s returns true if all values are truthy 171s returns false if any value is nil 171s returns false if any value is false 171s 171s Hamster::Set 171s #any? 171s when empty 171s with a block returns false 171s with no block returns false 171s when not empty 171s with a block 171s returns true if the block ever returns true ("A") 171s returns true if the block ever returns true ("B") 171s returns true if the block ever returns true ("C") 171s returns true if the block ever returns true (nil) 171s returns false if the block always returns false 171s propagates exceptions raised in the block 171s stops iterating as soon as the block returns true 171s with no block 171s returns true if any value is truthy 171s returns false if all values are falsey 171s 171s Hamster::Set 171s #clear 171s on [] 171s preserves the original 171s returns an empty set 171s on ["A"] 171s preserves the original 171s returns an empty set 171s on ["A", "B", "C"] 171s preserves the original 171s returns an empty set 171s from a subclass 171s returns an empty instance of the subclass 171s 171s Hamster::Set 171s #compact 171s on [] 171s preserves the original 171s returns [] 171s on ["A"] 171s preserves the original 171s returns ["A"] 171s on ["A", "B", "C"] 171s preserves the original 171s returns ["A", "B", "C"] 171s on [nil] 171s preserves the original 171s returns [] 171s on [nil, "B"] 171s preserves the original 171s returns ["B"] 171s on ["A", nil] 171s preserves the original 171s returns ["A"] 171s on [nil, nil] 171s preserves the original 171s returns [] 171s on ["A", nil, "C"] 171s preserves the original 171s returns ["A", "C"] 171s on [nil, "B", nil] 171s preserves the original 171s returns ["B"] 171s 171s Hamster::Set 171s .set 171s with no values 171s returns the empty set 171s with a list of values 171s is equivalent to repeatedly using #add 171s 171s Hamster::Set 171s #dup 171s returns self 171s #clone 171s returns self 171s 171s Hamster::Set 171s #count 171s works on large sets 171s on [] 171s with a block 171s returns 0 171s without a block 171s returns length 171s on [1] 171s with a block 171s returns 1 171s without a block 171s returns length 171s on [1, 2] 171s with a block 171s returns 1 171s without a block 171s returns length 171s on [1, 2, 3] 171s with a block 171s returns 2 171s without a block 171s returns length 171s on [1, 2, 3, 4] 171s with a block 171s returns 2 171s without a block 171s returns length 171s on [1, 2, 3, 4, 5] 171s with a block 171s returns 3 171s without a block 171s returns length 171s 171s Hamster::Set 171s #delete 171s works on large sets, with many combinations of input 171s with an existing value 171s preserves the original 171s returns a copy with the remaining values 171s with a non-existing value 171s preserves the original values 171s returns self 171s when removing the last value in a set 171s returns the canonical empty set 171s #delete? 171s with an existing value 171s preserves the original 171s returns a copy with the remaining values 171s with a non-existing value 171s preserves the original values 171s returns false 171s 171s Hamster::Set 171s #difference 171s works on a wide variety of inputs 171s for [] and [] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s doesn't modify the original Sets 171s returns ["A"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s doesn't modify the original Sets 171s returns ["A", "C"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["A", "C"] 171s doesn't modify the original Sets 171s returns ["B"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 171s doesn't modify the original Sets 171s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 171s doesn't modify the original Sets 171s returns ["A", "M", "Y", "Z"] 171s when passed a Ruby Array 171s returns the expected Set 171s #subtract 171s works on a wide variety of inputs 171s for [] and [] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s doesn't modify the original Sets 171s returns ["A"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s doesn't modify the original Sets 171s returns ["A", "C"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["A", "C"] 171s doesn't modify the original Sets 171s returns ["B"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 171s doesn't modify the original Sets 171s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 171s doesn't modify the original Sets 171s returns ["A", "M", "Y", "Z"] 171s when passed a Ruby Array 171s returns the expected Set 171s #- 171s works on a wide variety of inputs 171s for [] and [] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s doesn't modify the original Sets 171s returns ["A"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s doesn't modify the original Sets 171s returns ["A", "C"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["A", "C"] 171s doesn't modify the original Sets 171s returns ["B"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 171s doesn't modify the original Sets 171s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 171s doesn't modify the original Sets 171s returns ["A", "M", "Y", "Z"] 171s when passed a Ruby Array 171s returns the expected Set 171s 171s Hamster::Set 171s #disjoint? 171s for [] and [] 171s returns true 171s for ["A"] and [] 171s returns true 171s for [] and ["A"] 171s returns true 171s for ["A"] and ["A"] 171s returns false 171s for ["A", "B", "C"] and ["B"] 171s returns false 171s for ["B"] and ["A", "B", "C"] 171s returns false 171s for ["A", "B", "C"] and ["D", "E"] 171s returns true 171s for ["F", "G", "H", "I"] and ["A", "B", "C"] 171s returns true 171s for ["A", "B", "C"] and ["A", "B", "C"] 171s returns false 171s for ["A", "B", "C"] and ["A", "B", "C", "D"] 171s returns false 171s for ["D", "E", "F", "G"] and ["A", "B", "C"] 171s returns true 171s 171s Hamster::Set 171s #each 171s yields both of a pair of colliding keys 171s without a block 171s returns an Enumerator 171s with an empty block 171s returns self 171s with a block 171s yields all values 171s 171s Hamster::Set 171s #empty? 171s on [] 171s returns true 171s on ["A"] 171s returns false 171s on ["A", "B", "C"] 171s returns false 171s on [nil] 171s returns false 171s on [false] 171s returns false 171s .empty 171s returns the canonical empty set 171s from a subclass 171s returns an empty instance of the subclass 171s calls overridden #initialize when creating empty Set 171s 171s Hamster::Set 171s #== 171s when comparing to a standard set 171s returns false 171s when comparing to a arbitrary object 171s returns false 171s with an empty set for each comparison 171s returns true 171s with an empty set and a set with nil 171s returns false 171s with a single item array and empty array 171s returns false 171s with matching single item array 171s returns true 171s with mismatching single item array 171s returns false 171s with a multi-item array and single item array 171s returns false 171s with matching multi-item array 171s returns true 171s with a mismatching multi-item array 171s returns true 171s 171s Hamster::Set 171s #eql? 171s when comparing to a standard set 171s returns false 171s when comparing to a arbitrary object 171s returns false 171s when comparing with a subclass of Hamster::Set 171s returns false 171s with an empty set for each comparison 171s returns true 171s with an empty set and a set with nil 171s returns false 171s with a single item array and empty array 171s returns false 171s with matching single item array 171s returns true 171s with mismatching single item array 171s returns false 171s with a multi-item array and single item array 171s returns false 171s with matching multi-item array 171s returns true 171s with a mismatching multi-item array 171s returns true 171s 171s Hamster::Set 171s #exclusion 171s works for a wide variety of inputs 171s for [] and [] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s doesn't modify the original Sets 171s returns ["A"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s doesn't modify the original Sets 171s returns ["A", "C"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B", "C", "D"] 171s doesn't modify the original Sets 171s returns ["A", "D"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["D", "E", "F"] 171s doesn't modify the original Sets 171s returns ["A", "B", "C", "D", "E", "F"] 171s when passed a Ruby Array 171s returns the expected Set 171s #^ 171s works for a wide variety of inputs 171s for [] and [] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s doesn't modify the original Sets 171s returns ["A"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s doesn't modify the original Sets 171s returns [] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s doesn't modify the original Sets 171s returns ["A", "C"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B", "C", "D"] 171s doesn't modify the original Sets 171s returns ["A", "D"] 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["D", "E", "F"] 171s doesn't modify the original Sets 171s returns ["A", "B", "C", "D", "E", "F"] 171s when passed a Ruby Array 171s returns the expected Set 171s 171s Hamster::Set 171s #find 171s on [] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on [] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns "A" 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns "A" 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns "B" 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s #detect 171s on [] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on [] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns "A" 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A"] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns "A" 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns "B" 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s on ["A", "B", nil] 171s with a block 171s returns nil 171s without a block 171s returns an Enumerator 171s 171s Hamster::Set 171s #first 171s returns nil if only member of set is nil 171s returns the first item yielded by #each 171s on an empty set 171s returns nil 171s on a non-empty set 171s returns an arbitrary value from the set 171s 171s Hamster 171s #flatten 171s on ["A"] 171s preserves the original 171s returns the inlined values 171s on ["A", "B", "C"] 171s preserves the original 171s returns the inlined values 171s on ["A", Hamster::Set["B"], "C"] 171s preserves the original 171s returns the inlined values 171s on [Hamster::Set["A"], Hamster::Set["B"], Hamster::Set["C"]] 171s preserves the original 171s returns the inlined values 171s on an empty set 171s returns an empty set 171s on a set with multiple levels of nesting 171s inlines lower levels of nesting 171s from a subclass 171s returns an instance of the subclass 171s 171s Hamster::Set 171s #grep 171s without a block 171s with an empty set 171s returns the filtered values 171s with a single item set 171s returns the filtered values 171s with a single item set that doesn't contain match 171s returns the filtered values 171s with a multi-item set where one isn't a match 171s returns the filtered values 171s with a block 171s processes each matching item with the block 171s returns the filtered values 171s 171s Hamster::Set 171s #grep_v 171s without a block 171s with an empty set 171s returns the filtered values 171s with a single item set 171s returns the filtered values 171s with a single item set that doesn't contain match 171s returns the filtered values 171s with a multi-item set where one isn't a match 171s returns the filtered values 171s with a block 171s resulting items are processed with the block 171s returns the filtered values 171s 171s Hamster::Set 171s #group_by 171s returns a hash without default proc 171s with a block 171s on [] 171s returns [] 171s on [1] 171s returns [{true=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[4, 2]}] 171s without a block 171s on [] 171s returns [] 171s on [1] 171s returns [{1=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 171s on an empty set 171s returns an empty hash 171s from a subclass 171s returns an Hash whose values are instances of the subclass 171s #group 171s returns a hash without default proc 171s with a block 171s on [] 171s returns [] 171s on [1] 171s returns [{true=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[4, 2]}] 171s without a block 171s on [] 171s returns [] 171s on [1] 171s returns [{1=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 171s on an empty set 171s returns an empty hash 171s from a subclass 171s returns an Hash whose values are instances of the subclass 171s #classify 171s returns a hash without default proc 171s with a block 171s on [] 171s returns [] 171s on [1] 171s returns [{true=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[4, 2]}] 171s without a block 171s on [] 171s returns [] 171s on [1] 171s returns [{1=>Hamster::Set[1]}] 171s on [1, 2, 3, 4] 171s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 171s on an empty set 171s returns an empty hash 171s from a subclass 171s returns an Hash whose values are instances of the subclass 171s 171s Hamster::Set 171s #hash 171s generates the same hash value for a set regardless of the order things were added to it 171s values are sufficiently distributed 171s on an empty set 171s returns 0 171s 171s Hamster::Set 171s includes Immutable 171s 171s Hamster::Set 171s #include? 171s returns true for an existing value ("A") 171s returns true for an existing value ("B") 171s returns true for an existing value ("C") 171s returns true for an existing value (2.0) 171s returns true for an existing value (nil) 171s returns false for a non-existing value 171s returns true even if existing value is nil 171s returns true even if existing value is false 171s returns false for a mutable item which is mutated after adding 171s uses #eql? for equality 171s returns the right answers after a lot of addings and removings 171s #member? 171s returns true for an existing value ("A") 171s returns true for an existing value ("B") 171s returns true for an existing value ("C") 171s returns true for an existing value (2.0) 171s returns true for an existing value (nil) 171s returns false for a non-existing value 171s returns true even if existing value is nil 171s returns true even if existing value is false 171s returns false for a mutable item which is mutated after adding 171s uses #eql? for equality 171s returns the right answers after a lot of addings and removings 171s 171s Hamster::Set 171s #inspect 171s on [] 171s returns "Hamster::Set[]" 171s returns a string which can be eval'd to get an equivalent set 171s on ["A"] 171s returns "Hamster::Set[\"A\"]" 171s returns a string which can be eval'd to get an equivalent set 171s on ["A", "B", "C"] 171s returns a programmer-readable representation of the set contents 171s returns a string which can be eval'd to get an equivalent set 171s from a subclass 171s returns a programmer-readable representation of the set contents 171s returns a string which can be eval'd to get an equivalent set 171s 171s Hamster::Set 171s #intersect? 171s for [] and [] 171s returns false 171s for ["A"] and [] 171s returns false 171s for [] and ["A"] 171s returns false 171s for ["A"] and ["A"] 171s returns true 171s for ["A", "B", "C"] and ["B"] 171s returns true 171s for ["B"] and ["A", "B", "C"] 171s returns true 171s for ["A", "B", "C"] and ["D", "E"] 171s returns false 171s for ["F", "G", "H", "I"] and ["A", "B", "C"] 171s returns false 171s for ["A", "B", "C"] and ["A", "B", "C"] 171s returns true 171s for ["A", "B", "C"] and ["A", "B", "C", "D"] 171s returns true 171s for ["D", "E", "F", "G"] and ["A", "B", "C"] 171s returns false 171s 171s Hamster::Set 171s #intersection 171s returns results consistent with Array#& 171s for [] and [] 171s returns [], without changing the original Sets 171s for [] and [] 171s returns [], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s returns [], without changing the original Sets 171s for [] and ["A"] 171s returns [], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s returns ["A"], without changing the original Sets 171s for ["A"] and ["A"] 171s returns ["A"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s returns ["B"], without changing the original Sets 171s for ["B"] and ["A", "B", "C"] 171s returns ["B"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["A", "C"] 171s returns ["A", "C"], without changing the original Sets 171s for ["A", "C"] and ["A", "B", "C"] 171s returns ["A", "C"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s #& 171s returns results consistent with Array#& 171s for [] and [] 171s returns [], without changing the original Sets 171s for [] and [] 171s returns [], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and [] 171s returns [], without changing the original Sets 171s for [] and ["A"] 171s returns [], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A"] and ["A"] 171s returns ["A"], without changing the original Sets 171s for ["A"] and ["A"] 171s returns ["A"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["B"] 171s returns ["B"], without changing the original Sets 171s for ["B"] and ["A", "B", "C"] 171s returns ["B"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s for ["A", "B", "C"] and ["A", "C"] 171s returns ["A", "C"], without changing the original Sets 171s for ["A", "C"] and ["A", "B", "C"] 171s returns ["A", "C"], without changing the original Sets 171s when passed a Ruby Array 171s returns the expected Set 171s 171s Hamster::Set 171s #join 171s with a separator 171s on [] 171s preserves the original 171s returns "" 171s on ["A"] 171s preserves the original 171s returns "A" 171s on ["A", "B", "C"] 171s preserves the original 171s returns "A|B|C" 171s without a separator 171s on [] 171s preserves the original 171s returns "" 171s on ["A"] 171s preserves the original 171s returns "A" 171s on ["A", "B", "C"] 171s preserves the original 171s returns "ABC" 171s without a separator (with global default separator set) 171s on ['A', 'B', 'C'] 171s preserves the original 171s returns nil 171s 171s Hamster::Set 171s #map 171s works on large sets 171s when empty 171s returns self 171s when not empty 171s with a block 171s preserves the original values 171s returns a new set with the mapped values 171s with no block 171s returns an Enumerator 171s from a subclass 171s returns an instance of the subclass 171s when multiple items map to the same value 171s filters out the duplicates 171s #collect 171s works on large sets 171s when empty 171s returns self 171s when not empty 171s with a block 171s preserves the original values 171s returns a new set with the mapped values 171s with no block 171s returns an Enumerator 171s from a subclass 171s returns an instance of the subclass 171s when multiple items map to the same value 171s filters out the duplicates 171s 171s Hamster::Set 171s #marshal_dump/#marshal_load 171s can survive dumping and loading into a new process 171s is still possible to test items by key after loading 171s 171s Hamster::Set 171s #max 171s with a block 171s on [] 171s returns nil 171s on ["A"] 171s returns "A" 171s on ["Ichi", "Ni", "San"] 171s returns "Ichi" 171s without a block 171s on [] 171s returns nil 171s on ["A"] 171s returns "A" 171s on ["Ichi", "Ni", "San"] 171s returns "San" 171s 171s Hamster::Set 171s #min 171s with a block 171s on [] 171s returns nil 171s on ["A"] 171s returns "A" 171s on ["Ichi", "Ni", "San"] 171s returns "Ni" 171s without a block 171s on [] 171s returns nil 171s on ["A"] 171s returns "A" 171s on ["Ichi", "Ni", "San"] 171s returns "Ichi" 171s 171s Hamster::Set 171s .new 171s initializes a new set 171s accepts a Range 171s returns a Set which doesn't change even if the initializer is mutated 171s is amenable to overriding of #initialize 171s from a subclass 171s returns a frozen instance of the subclass 171s [] 171s accepts any number of arguments and initializes a new set 171s 171s Hamster::Set 171s #none? 171s when empty 171s with a block returns true 171s with no block returns true 171s when not empty 171s with a block 171s returns false if the block ever returns true ("A") 171s returns false if the block ever returns true ("B") 171s returns false if the block ever returns true ("C") 171s returns false if the block ever returns true (nil) 171s returns true if the block always returns false 171s stops iterating as soon as the block returns true 171s with no block 171s returns false if any value is truthy 171s returns true if all values are falsey 171s 171s Hamster::Set 171s #one? 171s when empty 171s with a block returns false 171s with no block returns false 171s when not empty 171s with a block 171s returns false if the block returns true more than once 171s returns false if the block never returns true 171s returns true if the block only returns true once 171s with no block 171s returns false if more than one value is truthy 171s returns true if only one value is truthy 171s returns false if no values are truthy 171s 171s Hamster::Set 171s #partition 171s on [] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [1] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [1, 2] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [1, 2, 3] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [1, 2, 3, 4] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [2, 3, 4] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [3, 4] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s on [4] 171s with a block 171s preserves the original 171s returns a frozen array with two items 171s correctly identifies the matches 171s correctly identifies the remainder 171s without a block 171s returns an Enumerator 171s 171s Hamster::Set 171s #product 171s on [] 171s returns 1 171s doesn't change the original Set 171s on [2] 171s returns 2 171s doesn't change the original Set 171s on [1, 3, 5, 7, 11] 171s returns 1155 171s doesn't change the original Set 171s 171s Hamster::Set 171s #reduce 171s on [] 171s with an initial value of 10 171s and a block 171s returns 10 171s on [1] 171s with an initial value of 10 171s and a block 171s returns 9 171s on [1, 2, 3] 171s with an initial value of 10 171s and a block 171s returns 4 171s on [] 171s with no initial value 171s and a block 171s returns nil 171s on [1] 171s with no initial value 171s and a block 171s returns 1 171s on [1, 2, 3] 171s with no initial value 171s and a block 171s returns 6 171s with no block and a symbol argument 171s uses the symbol as the name of a method to reduce with 171s with no block and a string argument 171s uses the string as the name of a method to reduce with 171s #inject 171s on [] 171s with an initial value of 10 171s and a block 171s returns 10 171s on [1] 171s with an initial value of 10 171s and a block 171s returns 9 171s on [1, 2, 3] 171s with an initial value of 10 171s and a block 171s returns 4 171s on [] 171s with no initial value 171s and a block 171s returns nil 171s on [1] 171s with no initial value 171s and a block 171s returns 1 171s on [1, 2, 3] 171s with no initial value 171s and a block 171s returns 6 171s with no block and a symbol argument 171s uses the symbol as the name of a method to reduce with 171s with no block and a string argument 171s uses the string as the name of a method to reduce with 171s 171s Hamster::Set 171s #reject 171s when nothing matches 171s returns self 171s when only some things match 171s with a block 171s preserves the original 171s returns a set with the matching values 171s with no block 171s returns self 171s on a large set, with many combinations of input 171s still works 171s #delete_if 171s when nothing matches 171s returns self 171s when only some things match 171s with a block 171s preserves the original 171s returns a set with the matching values 171s with no block 171s returns self 171s on a large set, with many combinations of input 171s still works 171s 171s Hamster::Set 171s #reverse_each 171s without a block 171s returns an Enumerator 171s with an empty block 171s returns self 171s with a block 171s yields all values 171s 171s Hamster::Set 171s #sample 171s returns a randomly chosen item 171s 171s Hamster::Set 171s #select 171s works on a large set, with many combinations of input 171s when everything matches 171s returns self 171s when only some things match 171s with a block 171s preserves the original 171s returns a set with the matching values 171s with no block 171s returns an Enumerator 171s when nothing matches 171s preserves the original 171s returns the canonical empty set 171s from a subclass 171s returns an instance of the same class 171s #find_all 172s works on a large set, with many combinations of input 172s when everything matches 172s returns self 172s when only some things match 172s with a block 172s preserves the original 172s returns a set with the matching values 172s with no block 172s returns an Enumerator 172s when nothing matches 172s preserves the original 172s returns the canonical empty set 172s from a subclass 172s returns an instance of the same class 172s 172s Hamster::Set 172s #size 172s returns 0 for [] 172s returns 1 for ["A"] 172s returns 3 for ["A", "B", "C"] 172s #length 172s returns 0 for [] 172s returns 1 for ["A"] 172s returns 3 for ["A", "B", "C"] 172s 172s Hamster::Set 172s #sort 172s on [] 172s with a block 172s returns [] 172s doesn't change the original Set 172s without a block 172s returns [] 172s doesn't change the original Set 172s on ["A"] 172s with a block 172s returns ["A"] 172s doesn't change the original Set 172s without a block 172s returns ["A"] 172s doesn't change the original Set 172s on ["Ichi", "Ni", "San"] 172s with a block 172s returns ["Ni", "San", "Ichi"] 172s doesn't change the original Set 172s without a block 172s returns ["Ichi", "Ni", "San"] 172s doesn't change the original Set 172s #sort_by 172s on [] 172s with a block 172s returns [] 172s doesn't change the original Set 172s without a block 172s returns [] 172s doesn't change the original Set 172s on ["A"] 172s with a block 172s returns ["A"] 172s doesn't change the original Set 172s without a block 172s returns ["A"] 172s doesn't change the original Set 172s on ["Ichi", "Ni", "San"] 172s with a block 172s returns ["Ni", "San", "Ichi"] 172s doesn't change the original Set 172s without a block 172s returns ["Ichi", "Ni", "San"] 172s doesn't change the original Set 172s #sort_by 172s only calls the passed block once for each item 172s 172s Hamster::Set 172s #subset? 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s #<= 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s #proper_subset? 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s #< 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s 172s Hamster::Set 172s #sum 172s on [] 172s returns 0 172s doesn't change the original Set 172s on [2] 172s returns 2 172s doesn't change the original Set 172s on [1, 3, 5, 7, 11] 172s returns 27 172s doesn't change the original Set 172s 172s Hamster::Set 172s #superset? 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s #>= 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s #proper_superset? 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s #> 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s 172s Hamster::Set 172s #to_a 172s on 'a'..'a' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'b' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'c' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'d' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'e' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'f' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'g' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'h' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'i' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'j' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'k' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'l' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'m' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'n' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'o' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'p' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'q' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'r' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'s' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'t' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'u' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'v' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'w' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'x' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'y' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'z' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s #entries 172s on 'a'..'a' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'b' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'c' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'d' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'e' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'f' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'g' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'h' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'i' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'j' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'k' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'l' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'m' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'n' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'o' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'p' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'q' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'r' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'s' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'t' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'u' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'v' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'w' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'x' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'y' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s on 'a'..'z' 172s returns an equivalent array 172s doesn't change the original Set 172s returns a mutable array 172s 172s Hamster::Set 172s #to_list 172s on [] 172s returns a list 172s doesn't change the original Set 172s the returned list 172s has the correct length 172s contains all values 172s on ["A"] 172s returns a list 172s doesn't change the original Set 172s the returned list 172s has the correct length 172s contains all values 172s on ["A", "B", "C"] 172s returns a list 172s doesn't change the original Set 172s the returned list 172s has the correct length 172s contains all values 172s 172s Hamster::Set 172s #to_set 172s on [] 172s returns self 172s on ["A"] 172s returns self 172s on ["A", "B", "C"] 172s returns self 172s 172s Hamster::Set 172s #union 172s for [] and [] 172s returns [], without changing the original Sets 172s for [] and [] 172s returns [], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"], without changing the original Sets 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["X", "Y", "Z"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s for ["X", "Y", "Z"] and ["A", "B", "C"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s when receiving a subset 172s returns self 172s #| 172s for [] and [] 172s returns [], without changing the original Sets 172s for [] and [] 172s returns [], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"], without changing the original Sets 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["X", "Y", "Z"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s for ["X", "Y", "Z"] and ["A", "B", "C"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s when receiving a subset 172s returns self 172s #+ 172s for [] and [] 172s returns [], without changing the original Sets 172s for [] and [] 172s returns [], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"], without changing the original Sets 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["X", "Y", "Z"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s for ["X", "Y", "Z"] and ["A", "B", "C"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s when receiving a subset 172s returns self 172s #merge 172s for [] and [] 172s returns [], without changing the original Sets 172s for [] and [] 172s returns [], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and ["A"] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for [] and ["A"] 172s returns ["A"], without changing the original Sets 172s for ["A"] and [] 172s returns ["A"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"], without changing the original Sets 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns ["A", "B", "C"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s for ["A", "B", "C"] and ["X", "Y", "Z"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s for ["X", "Y", "Z"] and ["A", "B", "C"] 172s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 172s when passed a Ruby Array 172s returns the expected Set 172s from a subclass 172s returns an instance of the subclass 172s when receiving a subset 172s returns self 172s 172s Hamster::SortedSet 172s #above 172s when called without a block 172s returns a sorted set of all items higher than the argument 172s when called with a block 172s yields all the items higher than the argument 172s on an empty set 172s returns an empty set 172s with an argument higher than all the values in the set 172s returns an empty set 172s 172s Hamster::SortedSet 172s #add 172s with a unique value 172s preserves the original 172s returns a copy with the superset of values (in order) 172s with a duplicate value 172s preserves the original values 172s returns self 172s on a set ordered by a comparator 172s inserts the new item in the correct place 172s #<< 172s with a unique value 172s preserves the original 172s returns a copy with the superset of values (in order) 172s with a duplicate value 172s preserves the original values 172s returns self 172s on a set ordered by a comparator 172s inserts the new item in the correct place 172s #add? 172s with a unique value 172s preserves the original 172s returns a copy with the superset of values 172s with a duplicate value 172s preserves the original values 172s returns false 172s 172s Hamster::SortedSet 172s #at 172s [] with 10 172s returns nil 172s ["A"] with 10 172s returns nil 172s ["A", "B", "C"] with 0 172s returns "A" 172s ["A", "B", "C"] with 1 172s returns "B" 172s ["A", "B", "C"] with 2 172s returns "C" 172s ["A", "B", "C"] with 3 172s returns nil 172s ["A", "B", "C"] with -1 172s returns "C" 172s ["A", "B", "C"] with -2 172s returns "B" 172s ["A", "B", "C"] with -3 172s returns "A" 172s ["A", "B", "C"] with -4 172s returns nil 172s 172s Hamster::SortedSet 172s #below 172s when called without a block 172s returns a sorted set of all items lower than the argument 172s when called with a block 172s yields all the items lower than the argument 172s on an empty set 172s returns an empty set 172s with an argument lower than all the values in the set 172s returns an empty set 172s 172s Hamster::SortedSet 172s #between 172s when called without a block 172s returns a sorted set of all items from the first argument to the second 172s when called with a block 172s yields all the items lower than the argument 172s on an empty set 172s returns an empty set 172s with a 'to' argument lower than the 'from' argument 172s returns an empty set 172s 172s Hamster::SortedSet 172s #clear 172s on [] 172s preserves the original 172s returns an empty set 172s on ["A"] 172s preserves the original 172s returns an empty set 172s on ["A", "B", "C"] 172s preserves the original 172s returns an empty set 172s from a subclass 172s returns an empty instance of the subclass 172s with a comparator 172s returns an empty instance with same comparator 172s 172s Hamster::SortedSet 172s on [] 172s returns self 172s on ["A"] 172s returns self 172s on ["A", "B", "C"] 172s returns self 172s on 1..32 172s returns self 172s on [] 172s returns self 172s on ["A"] 172s returns self 172s on ["A", "B", "C"] 172s returns self 172s on 1..32 172s returns self 172s 172s Hamster::SortedSet 172s #delete_at 172s removes the element at the specified index 172s makes no modification if the index is out of range 172s 172s Hamster::SortedSet 172s #delete 172s on an empty set 172s returns an empty set 172s with an existing value 172s preserves the original 172s returns a copy with the remaining of values 172s with a non-existing value 172s preserves the original values 172s returns self 172s when removing the last value in a sorted set 172s maintains the set order 172s when the set is in natural order 172s returns the canonical empty set 172s on [1, 2, 3], when deleting [1, 2, 3] 172s returns [] 172s on [1, 2, 3, 4], when deleting [1, 2, 3] 172s returns [4] 172s on [1, 2, 3, 4], when deleting [1, 2, 4] 172s returns [3] 172s on [1, 2, 3, 4], when deleting [1, 3, 4] 172s returns [2] 172s on [1, 2, 3, 4], when deleting [2, 3, 4] 172s returns [1] 172s on [1, 2, 3, 4, 5], when deleting [1, 2, 3] 172s returns [4, 5] 172s on [1, 2, 3, 4, 5], when deleting [1, 2, 4] 172s returns [3, 5] 172s on [1, 2, 3, 4, 5], when deleting [1, 2, 5] 172s returns [3, 4] 172s on [1, 2, 3, 4, 5], when deleting [1, 3, 4] 172s returns [2, 5] 172s on [1, 2, 3, 4, 5], when deleting [1, 3, 5] 172s returns [2, 4] 172s on [1, 2, 3, 4, 5], when deleting [1, 4, 5] 172s returns [2, 3] 172s on [1, 2, 3, 4, 5], when deleting [2, 3, 4] 172s returns [1, 5] 172s on [1, 2, 3, 4, 5], when deleting [2, 3, 5] 172s returns [1, 4] 172s on [1, 2, 3, 4, 5], when deleting [2, 4, 5] 172s returns [1, 3] 172s on [1, 2, 3, 4, 5], when deleting [3, 4, 5] 172s returns [1, 2] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 3] 172s returns [4, 5, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 4] 172s returns [3, 5, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 5] 172s returns [3, 4, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 6] 172s returns [3, 4, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 4] 172s returns [2, 5, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 5] 172s returns [2, 4, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 6] 172s returns [2, 4, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 4, 5] 172s returns [2, 3, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 4, 6] 172s returns [2, 3, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [1, 5, 6] 172s returns [2, 3, 4] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 4] 172s returns [1, 5, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 5] 172s returns [1, 4, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 6] 172s returns [1, 4, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 4, 5] 172s returns [1, 3, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 4, 6] 172s returns [1, 3, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [2, 5, 6] 172s returns [1, 3, 4] 172s on [1, 2, 3, 4, 5, 6], when deleting [3, 4, 5] 172s returns [1, 2, 6] 172s on [1, 2, 3, 4, 5, 6], when deleting [3, 4, 6] 172s returns [1, 2, 5] 172s on [1, 2, 3, 4, 5, 6], when deleting [3, 5, 6] 172s returns [1, 2, 4] 172s on [1, 2, 3, 4, 5, 6], when deleting [4, 5, 6] 172s returns [1, 2, 3] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 3] 172s returns [4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 4] 172s returns [3, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 5] 172s returns [3, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 6] 172s returns [3, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 7] 172s returns [3, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 4] 172s returns [2, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 5] 172s returns [2, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 6] 172s returns [2, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 7] 172s returns [2, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 5] 172s returns [2, 3, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 6] 172s returns [2, 3, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 7] 172s returns [2, 3, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 5, 6] 172s returns [2, 3, 4, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 5, 7] 172s returns [2, 3, 4, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 6, 7] 172s returns [2, 3, 4, 5] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 4] 172s returns [1, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 5] 172s returns [1, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 6] 172s returns [1, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 7] 172s returns [1, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 5] 172s returns [1, 3, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 6] 172s returns [1, 3, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 7] 172s returns [1, 3, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 5, 6] 172s returns [1, 3, 4, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 5, 7] 172s returns [1, 3, 4, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 6, 7] 172s returns [1, 3, 4, 5] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 5] 172s returns [1, 2, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 6] 172s returns [1, 2, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 7] 172s returns [1, 2, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 5, 6] 172s returns [1, 2, 4, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 5, 7] 172s returns [1, 2, 4, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 6, 7] 172s returns [1, 2, 4, 5] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 5, 6] 172s returns [1, 2, 3, 7] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 5, 7] 172s returns [1, 2, 3, 6] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 6, 7] 172s returns [1, 2, 3, 5] 172s on [1, 2, 3, 4, 5, 6, 7], when deleting [5, 6, 7] 172s returns [1, 2, 3, 4] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 3] 172s returns [4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 4] 172s returns [3, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 5] 172s returns [3, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 6] 172s returns [3, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 7] 172s returns [3, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 8] 172s returns [3, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 4] 172s returns [2, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 5] 172s returns [2, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 6] 172s returns [2, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 7] 172s returns [2, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 8] 172s returns [2, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 5] 172s returns [2, 3, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 6] 172s returns [2, 3, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 7] 172s returns [2, 3, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 8] 172s returns [2, 3, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 6] 172s returns [2, 3, 4, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 7] 172s returns [2, 3, 4, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 8] 172s returns [2, 3, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 6, 7] 172s returns [2, 3, 4, 5, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 6, 8] 172s returns [2, 3, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 7, 8] 172s returns [2, 3, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 4] 172s returns [1, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 5] 172s returns [1, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 6] 172s returns [1, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 7] 172s returns [1, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 8] 172s returns [1, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 5] 172s returns [1, 3, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 6] 172s returns [1, 3, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 7] 172s returns [1, 3, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 8] 172s returns [1, 3, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 6] 172s returns [1, 3, 4, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 7] 172s returns [1, 3, 4, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 8] 172s returns [1, 3, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 6, 7] 172s returns [1, 3, 4, 5, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 6, 8] 172s returns [1, 3, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 7, 8] 172s returns [1, 3, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 5] 172s returns [1, 2, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 6] 172s returns [1, 2, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 7] 172s returns [1, 2, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 8] 172s returns [1, 2, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 6] 172s returns [1, 2, 4, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 7] 172s returns [1, 2, 4, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 8] 172s returns [1, 2, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 6, 7] 172s returns [1, 2, 4, 5, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 6, 8] 172s returns [1, 2, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 7, 8] 172s returns [1, 2, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 6] 172s returns [1, 2, 3, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 7] 172s returns [1, 2, 3, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 8] 172s returns [1, 2, 3, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 6, 7] 172s returns [1, 2, 3, 5, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 6, 8] 172s returns [1, 2, 3, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 7, 8] 172s returns [1, 2, 3, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 6, 7] 172s returns [1, 2, 3, 4, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 6, 8] 172s returns [1, 2, 3, 4, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 7, 8] 172s returns [1, 2, 3, 4, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [6, 7, 8] 172s returns [1, 2, 3, 4, 5] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 3] 172s returns [4, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 4] 172s returns [3, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 5] 172s returns [3, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 6] 172s returns [3, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 7] 172s returns [3, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 8] 172s returns [3, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 9] 172s returns [3, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 4] 172s returns [2, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 5] 172s returns [2, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 6] 172s returns [2, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 7] 172s returns [2, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 8] 172s returns [2, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 9] 172s returns [2, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 5] 172s returns [2, 3, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 6] 172s returns [2, 3, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 7] 172s returns [2, 3, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 8] 172s returns [2, 3, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 9] 172s returns [2, 3, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 6] 172s returns [2, 3, 4, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 7] 172s returns [2, 3, 4, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 8] 172s returns [2, 3, 4, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 9] 172s returns [2, 3, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 7] 172s returns [2, 3, 4, 5, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 8] 172s returns [2, 3, 4, 5, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 9] 172s returns [2, 3, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 7, 8] 172s returns [2, 3, 4, 5, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 7, 9] 172s returns [2, 3, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 8, 9] 172s returns [2, 3, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 4] 172s returns [1, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 5] 172s returns [1, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 6] 172s returns [1, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 7] 172s returns [1, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 8] 172s returns [1, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 9] 172s returns [1, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 5] 172s returns [1, 3, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 6] 172s returns [1, 3, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 7] 172s returns [1, 3, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 8] 172s returns [1, 3, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 9] 172s returns [1, 3, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 6] 172s returns [1, 3, 4, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 7] 172s returns [1, 3, 4, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 8] 172s returns [1, 3, 4, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 9] 172s returns [1, 3, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 7] 172s returns [1, 3, 4, 5, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 8] 172s returns [1, 3, 4, 5, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 9] 172s returns [1, 3, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 7, 8] 172s returns [1, 3, 4, 5, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 7, 9] 172s returns [1, 3, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 8, 9] 172s returns [1, 3, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 5] 172s returns [1, 2, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 6] 172s returns [1, 2, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 7] 172s returns [1, 2, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 8] 172s returns [1, 2, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 9] 172s returns [1, 2, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 6] 172s returns [1, 2, 4, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 7] 172s returns [1, 2, 4, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 8] 172s returns [1, 2, 4, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 9] 172s returns [1, 2, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 7] 172s returns [1, 2, 4, 5, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 8] 172s returns [1, 2, 4, 5, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 9] 172s returns [1, 2, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 7, 8] 172s returns [1, 2, 4, 5, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 7, 9] 172s returns [1, 2, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 8, 9] 172s returns [1, 2, 4, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 6] 172s returns [1, 2, 3, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 7] 172s returns [1, 2, 3, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 8] 172s returns [1, 2, 3, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 9] 172s returns [1, 2, 3, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 7] 172s returns [1, 2, 3, 5, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 8] 172s returns [1, 2, 3, 5, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 9] 172s returns [1, 2, 3, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 7, 8] 172s returns [1, 2, 3, 5, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 7, 9] 172s returns [1, 2, 3, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 8, 9] 172s returns [1, 2, 3, 5, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 7] 172s returns [1, 2, 3, 4, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 8] 172s returns [1, 2, 3, 4, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 9] 172s returns [1, 2, 3, 4, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 7, 8] 172s returns [1, 2, 3, 4, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 7, 9] 172s returns [1, 2, 3, 4, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 8, 9] 172s returns [1, 2, 3, 4, 6, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 7, 8] 172s returns [1, 2, 3, 4, 5, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 7, 9] 172s returns [1, 2, 3, 4, 5, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 8, 9] 172s returns [1, 2, 3, 4, 5, 7] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [7, 8, 9] 172s returns [1, 2, 3, 4, 5, 6] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 3] 172s returns [4, 5, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 4] 172s returns [3, 5, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 5] 172s returns [3, 4, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 6] 172s returns [3, 4, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 7] 172s returns [3, 4, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 8] 172s returns [3, 4, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 9] 172s returns [3, 4, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 10] 172s returns [3, 4, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 4] 172s returns [2, 5, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 5] 172s returns [2, 4, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 6] 172s returns [2, 4, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 7] 172s returns [2, 4, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 8] 172s returns [2, 4, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 9] 172s returns [2, 4, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 10] 172s returns [2, 4, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 5] 172s returns [2, 3, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 6] 172s returns [2, 3, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 7] 172s returns [2, 3, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 8] 172s returns [2, 3, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 9] 172s returns [2, 3, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 10] 172s returns [2, 3, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 6] 172s returns [2, 3, 4, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 7] 172s returns [2, 3, 4, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 8] 172s returns [2, 3, 4, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 9] 172s returns [2, 3, 4, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 10] 172s returns [2, 3, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 7] 172s returns [2, 3, 4, 5, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 8] 172s returns [2, 3, 4, 5, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 9] 172s returns [2, 3, 4, 5, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 10] 172s returns [2, 3, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 8] 172s returns [2, 3, 4, 5, 6, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 9] 172s returns [2, 3, 4, 5, 6, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 10] 172s returns [2, 3, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 8, 9] 172s returns [2, 3, 4, 5, 6, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 8, 10] 172s returns [2, 3, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 9, 10] 172s returns [2, 3, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 4] 172s returns [1, 5, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 5] 172s returns [1, 4, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 6] 172s returns [1, 4, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 7] 172s returns [1, 4, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 8] 172s returns [1, 4, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 9] 172s returns [1, 4, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 10] 172s returns [1, 4, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 5] 172s returns [1, 3, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 6] 172s returns [1, 3, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 7] 172s returns [1, 3, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 8] 172s returns [1, 3, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 9] 172s returns [1, 3, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 10] 172s returns [1, 3, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 6] 172s returns [1, 3, 4, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 7] 172s returns [1, 3, 4, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 8] 172s returns [1, 3, 4, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 9] 172s returns [1, 3, 4, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 10] 172s returns [1, 3, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 7] 172s returns [1, 3, 4, 5, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 8] 172s returns [1, 3, 4, 5, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 9] 172s returns [1, 3, 4, 5, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 10] 172s returns [1, 3, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 8] 172s returns [1, 3, 4, 5, 6, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 9] 172s returns [1, 3, 4, 5, 6, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 10] 172s returns [1, 3, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 8, 9] 172s returns [1, 3, 4, 5, 6, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 8, 10] 172s returns [1, 3, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 9, 10] 172s returns [1, 3, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 5] 172s returns [1, 2, 6, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 6] 172s returns [1, 2, 5, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 7] 172s returns [1, 2, 5, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 8] 172s returns [1, 2, 5, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 9] 172s returns [1, 2, 5, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 10] 172s returns [1, 2, 5, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 6] 172s returns [1, 2, 4, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 7] 172s returns [1, 2, 4, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 8] 172s returns [1, 2, 4, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 9] 172s returns [1, 2, 4, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 10] 172s returns [1, 2, 4, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 7] 172s returns [1, 2, 4, 5, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 8] 172s returns [1, 2, 4, 5, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 9] 172s returns [1, 2, 4, 5, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 10] 172s returns [1, 2, 4, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 8] 172s returns [1, 2, 4, 5, 6, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 9] 172s returns [1, 2, 4, 5, 6, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 10] 172s returns [1, 2, 4, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 8, 9] 172s returns [1, 2, 4, 5, 6, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 8, 10] 172s returns [1, 2, 4, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 9, 10] 172s returns [1, 2, 4, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 6] 172s returns [1, 2, 3, 7, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 7] 172s returns [1, 2, 3, 6, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 8] 172s returns [1, 2, 3, 6, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 9] 172s returns [1, 2, 3, 6, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 10] 172s returns [1, 2, 3, 6, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 7] 172s returns [1, 2, 3, 5, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 8] 172s returns [1, 2, 3, 5, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 9] 172s returns [1, 2, 3, 5, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 10] 172s returns [1, 2, 3, 5, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 8] 172s returns [1, 2, 3, 5, 6, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 9] 172s returns [1, 2, 3, 5, 6, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 10] 172s returns [1, 2, 3, 5, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 8, 9] 172s returns [1, 2, 3, 5, 6, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 8, 10] 172s returns [1, 2, 3, 5, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 9, 10] 172s returns [1, 2, 3, 5, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 7] 172s returns [1, 2, 3, 4, 8, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 8] 172s returns [1, 2, 3, 4, 7, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 9] 172s returns [1, 2, 3, 4, 7, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 10] 172s returns [1, 2, 3, 4, 7, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 8] 172s returns [1, 2, 3, 4, 6, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 9] 172s returns [1, 2, 3, 4, 6, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 10] 172s returns [1, 2, 3, 4, 6, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 8, 9] 172s returns [1, 2, 3, 4, 6, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 8, 10] 172s returns [1, 2, 3, 4, 6, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 9, 10] 172s returns [1, 2, 3, 4, 6, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 8] 172s returns [1, 2, 3, 4, 5, 9, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 9] 172s returns [1, 2, 3, 4, 5, 8, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 10] 172s returns [1, 2, 3, 4, 5, 8, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 8, 9] 172s returns [1, 2, 3, 4, 5, 7, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 8, 10] 172s returns [1, 2, 3, 4, 5, 7, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 9, 10] 172s returns [1, 2, 3, 4, 5, 7, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 8, 9] 172s returns [1, 2, 3, 4, 5, 6, 10] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 8, 10] 172s returns [1, 2, 3, 4, 5, 6, 9] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 9, 10] 172s returns [1, 2, 3, 4, 5, 6, 8] 172s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [8, 9, 10] 172s returns [1, 2, 3, 4, 5, 6, 7] 172s #delete? 172s with an existing value 172s preserves the original 172s returns a copy with the remaining values 172s with a non-existing value 172s preserves the original values 172s returns false 172s 172s Hamster::SortedSet 172s #difference 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns [] 172s for ["A", "B", "C"] and ["B"] 172s returns ["A", "C"] 172s for ["A", "B", "C"] and ["A", "C"] 172s returns ["B"] 172s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 172s returns ["A", "C", "D"] 172s #subtract 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns [] 172s for ["A", "B", "C"] and ["B"] 172s returns ["A", "C"] 172s for ["A", "B", "C"] and ["A", "C"] 172s returns ["B"] 172s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 172s returns ["A", "C", "D"] 172s #- 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns [] 172s for ["A", "B", "C"] and ["B"] 172s returns ["A", "C"] 172s for ["A", "B", "C"] and ["A", "C"] 172s returns ["B"] 172s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 172s returns ["A", "C", "D"] 172s 172s Hamster::SortedSet 172s #disjoint? 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["D", "E"] 172s returns true 172s for ["F", "G", "H", "I"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["D", "E", "F", "G"] and ["A", "B", "C"] 172s returns true 172s 172s Hamster::SortedSet 172s #drop 172s 0 from [] 172s preserves the original 172s returns [] 172s 10 from [] 172s preserves the original 172s returns [] 172s 10 from ["A"] 172s preserves the original 172s returns [] 172s 0 from ["A", "B", "C"] 172s preserves the original 172s returns ["A", "B", "C"] 172s 1 from ["A", "B", "C"] 172s preserves the original 172s returns ["B", "C"] 172s 2 from ["A", "B", "C"] 172s preserves the original 172s returns ["C"] 172s 3 from ["A", "B", "C"] 172s preserves the original 172s returns [] 172s when argument is zero 172s returns self 172s when the set has a custom order 172s maintains the custom order 172s keeps the comparator even when set is cleared 172s when called on a subclass 172s should return an instance of the subclass 172s 172s Hamster::SortedSet 172s #drop_while 172s on [] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A"] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C"] 172s with a block 172s preserves the original 172s returns ["C"] 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C", "D", "E", "F", "G"] 172s with a block 172s preserves the original 172s returns ["C", "D", "E", "F", "G"] 172s without a block 172s returns an Enumerator 172s 172s Hamster::SortedSet 172s #each 172s with no block 172s returns an Enumerator 172s with a block 172s returns self 172s iterates over the items in order 172s 172s Hamster::SortedSet 172s #empty? 172s on [] 172s returns true 172s on ["A"] 172s returns false 172s on ["A", "B", "C"] 172s returns false 172s .empty 172s returns the canonical empty set 172s from a subclass 172s returns an empty instance of the subclass 172s 172s Hamster::SortedSet 172s #eql? 172s when comparing to a standard set 172s returns false 172s when comparing to a arbitrary object 172s returns false 172s when comparing to a Hamster::Set 172s returns false 172s when comparing with a subclass of Hamster::SortedSet 172s returns false 172s with an empty set for each comparison 172s returns true 172s with an empty set and a set with nil 172s returns false 172s with a single item array and empty array 172s returns false 172s with matching single item array 172s returns true 172s with mismatching single item array 172s returns false 172s with a multi-item array and single item array 172s returns false 172s with matching multi-item array 172s returns true 172s with a mismatching multi-item array 172s returns true 172s with the same values, but a different sort order 172s returns false 172s 172s Hamster::SortedSet 172s #exclusion 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns [] 172s for ["A", "B", "C"] and ["B"] 172s returns ["A", "C"] 172s for ["A", "B", "C"] and ["B", "C", "D"] 172s returns ["A", "D"] 172s for ["A", "B", "C"] and ["D", "E", "F"] 172s returns ["A", "B", "C", "D", "E", "F"] 172s #^ 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns [] 172s for ["A", "B", "C"] and ["B"] 172s returns ["A", "C"] 172s for ["A", "B", "C"] and ["B", "C", "D"] 172s returns ["A", "D"] 172s for ["A", "B", "C"] and ["D", "E", "F"] 172s returns ["A", "B", "C", "D", "E", "F"] 172s 172s Hamster::SortedSet 172s #fetch 172s gives precedence to default block over default argument if passed both 172s with no default provided 172s when the index exists 172s returns the value at the index 172s when the key does not exist 172s raises an IndexError 172s with a default value 172s when the index exists 172s returns the value at the index 172s when the index does not exist 172s returns the default value 172s with a default block 172s when the index exists 172s returns the value at the index 172s when the index does not exist 172s invokes the block with the missing index as parameter 172s 172s Hamster::SortedSet 172s #find_index 172s looking for "A" in [] without block 172s returns nil 172s looking for "A" in [] with block 172s returns nil 172s looking for nil in [] with block 172s returns nil 172s looking for "A" in ["A"] without block 172s returns 0 172s looking for "A" in ["A"] with block 172s returns 0 172s looking for "B" in ["A"] without block 172s returns nil 172s looking for "B" in ["A"] with block 172s returns nil 172s looking for nil in ["A"] with block 172s returns nil 172s looking for "A" in ["A", "B", "C"] without block 172s returns 0 172s looking for "A" in ["A", "B", "C"] with block 172s returns 0 172s looking for "B" in ["A", "B", "C"] without block 172s returns 1 172s looking for "B" in ["A", "B", "C"] with block 172s returns 1 172s looking for "C" in ["A", "B", "C"] without block 172s returns 2 172s looking for "C" in ["A", "B", "C"] with block 172s returns 2 172s looking for "D" in ["A", "B", "C"] without block 172s returns nil 172s looking for "D" in ["A", "B", "C"] with block 172s returns nil 172s looking for 1 in 0..1 without block 172s returns 1 172s looking for 1 in 0..1 with block 172s returns 1 172s looking for 5 in 0..10 without block 172s returns 5 172s looking for 5 in 0..10 with block 172s returns 5 172s looking for 10 in 0..10 without block 172s returns 10 172s looking for 10 in 0..10 with block 172s returns 10 172s looking for 2 in [2] without block 172s returns 0 172s looking for 2 in [2] with block 172s returns 0 172s looking for 2.0 in [2] without block 172s returns 0 172s looking for 2.0 in [2] with block 172s returns 0 172s looking for 2.0 in [2.0] without block 172s returns 0 172s looking for 2.0 in [2.0] with block 172s returns 0 172s looking for 2 in [2.0] without block 172s returns 0 172s looking for 2 in [2.0] with block 172s returns 0 172s #index 172s looking for "A" in [] without block 172s returns nil 172s looking for "A" in [] with block 172s returns nil 172s looking for nil in [] with block 172s returns nil 172s looking for "A" in ["A"] without block 172s returns 0 172s looking for "A" in ["A"] with block 172s returns 0 172s looking for "B" in ["A"] without block 172s returns nil 172s looking for "B" in ["A"] with block 172s returns nil 172s looking for nil in ["A"] with block 172s returns nil 172s looking for "A" in ["A", "B", "C"] without block 172s returns 0 172s looking for "A" in ["A", "B", "C"] with block 172s returns 0 172s looking for "B" in ["A", "B", "C"] without block 172s returns 1 172s looking for "B" in ["A", "B", "C"] with block 172s returns 1 172s looking for "C" in ["A", "B", "C"] without block 172s returns 2 172s looking for "C" in ["A", "B", "C"] with block 172s returns 2 172s looking for "D" in ["A", "B", "C"] without block 172s returns nil 172s looking for "D" in ["A", "B", "C"] with block 172s returns nil 172s looking for 1 in 0..1 without block 172s returns 1 172s looking for 1 in 0..1 with block 172s returns 1 172s looking for 5 in 0..10 without block 172s returns 5 172s looking for 5 in 0..10 with block 172s returns 5 172s looking for 10 in 0..10 without block 172s returns 10 172s looking for 10 in 0..10 with block 172s returns 10 172s looking for 2 in [2] without block 172s returns 0 172s looking for 2 in [2] with block 172s returns 0 172s looking for 2.0 in [2] without block 172s returns 0 172s looking for 2.0 in [2] with block 172s returns 0 172s looking for 2.0 in [2.0] without block 172s returns 0 172s looking for 2.0 in [2.0] with block 172s returns 0 172s looking for 2 in [2.0] without block 172s returns 0 172s looking for 2 in [2.0] with block 172s returns 0 172s 172s Hamster::SortedSet 172s #first 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["A", "B", "C"] 172s returns "A" 172s on ["Z", "Y", "X"] 172s returns "X" 172s 172s Hamster::SortedSet 172s #from 172s when called without a block 172s returns a sorted set of all items equal to or greater than the argument 172s when called with a block 172s yields all the items equal to or greater than than the argument 172s on an empty set 172s returns an empty set 172s with an argument higher than all the values in the set 172s returns an empty set 172s 172s Hamster::SortedSet 172s #group_by 172s with a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 172s without a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 172s from a subclass 172s returns an Hash whose values are instances of the subclass 172s #group 172s with a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 172s without a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 172s from a subclass 172s returns an Hash whose values are instances of the subclass 172s #classify 172s with a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 172s without a block 172s on [] 172s preserves the original 172s returns [] 172s on [1] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1]}] 172s on [1, 2, 3, 4] 172s preserves the original 172s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 172s from a subclass 172s returns an Hash whose values are instances of the subclass 172s 172s Hamster::SortedSet 172s #include? 172s returns true for an existing value (1) 172s returns true for an existing value (2) 172s returns true for an existing value (3) 172s returns true for an existing value (4.0) 172s returns false for a non-existing value 172s uses #<=> for equality 172s #member? 172s returns true for an existing value (1) 172s returns true for an existing value (2) 172s returns true for an existing value (3) 172s returns true for an existing value (4.0) 172s returns false for a non-existing value 172s uses #<=> for equality 172s 172s Hamster::SortedSet 172s #inspect 172s on [] 172s returns "Hamster::SortedSet[]" 172s returns a string which can be eval'd to get an equivalent set 172s on ["A"] 172s returns "Hamster::SortedSet[\"A\"]" 172s returns a string which can be eval'd to get an equivalent set 172s on ["C", "B", "A"] 172s returns "Hamster::SortedSet[\"A\", \"B\", \"C\"]" 172s returns a string which can be eval'd to get an equivalent set 172s from a subclass 172s returns a programmer-readable representation of the set contents 172s returns a string which can be eval'd to get an equivalent set 172s 172s Hamster::SortedSet 172s #intersect? 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["D", "E"] 172s returns false 172s for ["F", "G", "H", "I"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["D", "E", "F", "G"] and ["A", "B", "C"] 172s returns false 172s 172s Hamster::SortedSet 172s #intersection 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns [] 172s for [] and ["A"] 172s returns [] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and ["B"] 172s returns ["B"] 172s for ["B"] and ["A", "B", "C"] 172s returns ["B"] 172s for ["A", "B", "C"] and ["A", "C"] 172s returns ["A", "C"] 172s for ["A", "C"] and ["A", "B", "C"] 172s returns ["A", "C"] 172s for ["A", "M", "T", "X"] and ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] 172s returns ["M", "T"] 172s for ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] and ["A", "M", "T", "X"] 172s returns ["M", "T"] 172s #& 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns [] 172s for [] and ["A"] 172s returns [] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and ["B"] 172s returns ["B"] 172s for ["B"] and ["A", "B", "C"] 172s returns ["B"] 172s for ["A", "B", "C"] and ["A", "C"] 172s returns ["A", "C"] 172s for ["A", "C"] and ["A", "B", "C"] 172s returns ["A", "C"] 172s for ["A", "M", "T", "X"] and ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] 172s returns ["M", "T"] 172s for ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] and ["A", "M", "T", "X"] 172s returns ["M", "T"] 172s 172s Hamster::SortedSet 172s #last 172s with an empty set 172s returns the last item 172s with a single item set 172s returns the last item 172s with a multi-item set 172s returns the last item 172s 172s Hamster::SortedSet 172s #map 172s when empty 172s returns self 172s when not empty 172s with a block 172s preserves the original values 172s returns a new set with the mapped values 172s with no block 172s returns an Enumerator 172s on a set ordered by a comparator 172s returns a new set with the mapped values 172s #collect 172s when empty 172s returns self 172s when not empty 172s with a block 172s preserves the original values 172s returns a new set with the mapped values 172s with no block 172s returns an Enumerator 172s on a set ordered by a comparator 172s returns a new set with the mapped values 172s 172s Hamster::SortedSet 172s #marshal_dump/#marshal_load 172s can survive dumping and loading into a new process 172s is still possible to find items by index after loading 172s raises a TypeError if set has a custom sort order 172s 172s Hamster::SortedSet 172s #max 172s with a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "Ichi" 172s without a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "San" 172s 172s Hamster::SortedSet 172s #min 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "Ichi" 172s on [1, 2, 3, 4, 5] 172s returns 1 172s on [0, -0.0, 2.2, -4, -4.2] 172s returns -4.2 172s 172s Hamster::SortedSet 172s .new 172s accepts a single enumerable argument and creates a new sorted set 172s also works with a Range 172s is amenable to overriding of #initialize 172s accepts a block with arity 1 172s accepts a block with arity 2 172s can use a block produced by Symbol#to_proc 172s from a subclass 172s returns a frozen instance of the subclass 172s .[] 172s accepts a variable number of items and creates a new sorted set 172s 172s Hamster::SortedSet 172s #reverse_each 172s with no block 172s returns an Enumerator 172s with a block 172s returns self 172s iterates over the items in order 172s 172s Hamster::SortedSet 172s #sample 172s returns a randomly chosen item 172s 172s Hamster::SortedSet 172s #select 172s when everything matches 172s preserves the original 172s returns self 172s when only some things match 172s with a block 172s preserves the original 172s returns a set with the matching values 172s with no block 172s returns an Enumerator 172s when nothing matches 172s preserves the original 172s returns the canonical empty set 172s from a subclass 172s returns an instance of the same class 172s #find_all 172s when everything matches 172s preserves the original 172s returns self 172s when only some things match 172s with a block 172s preserves the original 172s returns a set with the matching values 172s with no block 172s returns an Enumerator 172s when nothing matches 172s preserves the original 172s returns the canonical empty set 172s from a subclass 172s returns an instance of the same class 172s 172s Hamster::SortedSet 172s #size 172s returns 0 for [] 172s returns 1 for ["A"] 172s returns 3 for ["A", "B", "C"] 172s #length 172s returns 0 for [] 172s returns 1 for ["A"] 172s returns 3 for ["A", "B", "C"] 172s 172s Hamster::SortedSet 172s #slice 172s when passed a positive integral index 172s returns the element at that index 172s leaves the original unchanged 172s when passed a negative integral index 172s returns the element which is number (index.abs) counting from the end of the sorted_set 172s when passed a positive integral index and count 172s returns 'count' elements starting from 'index' 172s leaves the original unchanged 172s when passed a negative integral index and count 172s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 172s when passed a Range 172s returns the elements whose indexes are within the given Range 172s leaves the original unchanged 172s when passed an empty Range 172s does not lose custom sort order 172s when passed a length of zero 172s does not lose custom sort order 172s when passed a subclass of Range 172s works the same as with a Range 172s on a subclass of SortedSet 172s with index and count or a range, returns an instance of the subclass 172s #[] 172s when passed a positive integral index 172s returns the element at that index 172s leaves the original unchanged 172s when passed a negative integral index 172s returns the element which is number (index.abs) counting from the end of the sorted_set 172s when passed a positive integral index and count 172s returns 'count' elements starting from 'index' 172s leaves the original unchanged 172s when passed a negative integral index and count 172s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 172s when passed a Range 172s returns the elements whose indexes are within the given Range 172s leaves the original unchanged 172s when passed an empty Range 172s does not lose custom sort order 172s when passed a length of zero 172s does not lose custom sort order 172s when passed a subclass of Range 172s works the same as with a Range 172s on a subclass of SortedSet 172s with index and count or a range, returns an instance of the subclass 172s 172s Hamster::SortedSet 172s #sort 172s on [] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s preserves the original 172s returns [] 172s on ["A"] 172s with a block 172s preserves the original 172s returns ["A"] 172s without a block 172s preserves the original 172s returns ["A"] 172s on ["Ichi", "Ni", "San"] 172s with a block 172s preserves the original 172s returns ["Ni", "San", "Ichi"] 172s without a block 172s preserves the original 172s returns ["Ichi", "Ni", "San"] 172s #sort_by 172s on [] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s preserves the original 172s returns [] 172s on ["A"] 172s with a block 172s preserves the original 172s returns ["A"] 172s without a block 172s preserves the original 172s returns ["A"] 172s on ["Ichi", "Ni", "San"] 172s with a block 172s preserves the original 172s returns ["Ni", "San", "Ichi"] 172s without a block 172s preserves the original 172s returns ["Ichi", "Ni", "San"] 172s 172s Hamster::SortedSet 172s #subset? 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s #proper_subset? 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns false 172s for [] and ["A"] 172s returns true 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns false 172s for ["B"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "C"] 172s returns false 172s for ["A", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns true 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns false 172s 172s Hamster::SortedSet 172s #superset? 172s for [] and [] 172s returns true 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns true 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns true 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s #proper_superset? 172s for [] and [] 172s returns false 172s for ["A"] and [] 172s returns true 172s for [] and ["A"] 172s returns false 172s for ["A"] and ["A"] 172s returns false 172s for ["A", "B", "C"] and ["B"] 172s returns true 172s for ["B"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "C"] 172s returns true 172s for ["A", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for ["A", "B", "C"] and ["A", "B", "C", "D"] 172s returns false 172s for ["A", "B", "C", "D"] and ["A", "B", "C"] 172s returns true 172s 172s Hamster::SortedSet 172s #take 172s 10 from [] 172s preserves the original 172s returns [] 172s 10 from ["A"] 172s preserves the original 172s returns ["A"] 172s 0 from ["A", "B", "C"] 172s preserves the original 172s returns [] 172s 2 from ["A", "B", "C"] 172s preserves the original 172s returns ["A", "B"] 172s when argument is at least size of receiver 172s returns self 172s when the set has a custom order 172s maintains the custom order 172s keeps the comparator even when set is cleared 172s when called on a subclass 172s should return an instance of the subclass 172s 172s Hamster::SortedSet 172s #take_while 172s on [] 172s with a block 172s returns [] 172s preserves the original 172s without a block 172s returns an Enumerator 172s on ["A"] 172s with a block 172s returns ["A"] 172s preserves the original 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C"] 172s with a block 172s returns ["A", "B"] 172s preserves the original 172s without a block 172s returns an Enumerator 172s 172s Hamster::SortedSet 172s #to_set 172s on [] 172s returns a set with the same values 172s on ["A"] 172s returns a set with the same values 172s on ["A", "B", "C"] 172s returns a set with the same values 172s 172s Hamster::SortedSet 172s #union 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for [] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"] 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"] 172s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s #| 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for [] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"] 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"] 172s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s #+ 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for [] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"] 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"] 172s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s #merge 172s for [] and [] 172s returns [] 172s for [] and [] 172s returns [] 172s for ["A"] and [] 172s returns ["A"] 172s for [] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A"] and ["A"] 172s returns ["A"] 172s for ["A", "B", "C"] and [] 172s returns ["A", "B", "C"] 172s for [] and ["A", "B", "C"] 172s returns ["A", "B", "C"] 172s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 172s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 172s 172s Hamster::SortedSet 172s #up_to 172s when called without a block 172s returns a sorted set of all items equal to or less than the argument 172s when called with a block 172s yields all the items equal to or less than than the argument 172s on an empty set 172s returns an empty set 172s with an argument less than all the values in the set 172s returns an empty set 172s 172s Hamster::SortedSet 172s #values_at 172s accepts any number of indices, and returns a sorted_set of items at those indices 172s when passed invalid indices 172s filters them out 172s when passed no arguments 172s returns an empty sorted_set 172s from a subclass 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #add 172s with a empty vector adding a single item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a duplicate item 172s preserves the original 172s adds the item to the vector 172s with a 31-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 32-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 33-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1023-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1024-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1025-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s from a subclass 172s returns an instance of the subclass 172s #<< 172s with a empty vector adding a single item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a duplicate item 172s preserves the original 172s adds the item to the vector 172s with a 31-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 32-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 33-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1023-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1024-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1025-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s from a subclass 172s returns an instance of the subclass 172s #push 172s with a empty vector adding a single item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a single-item vector adding a duplicate item 172s preserves the original 172s adds the item to the vector 172s with a 31-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 32-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 33-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1023-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1024-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s with a 1025-item vector adding a different item 172s preserves the original 172s adds the item to the vector 172s from a subclass 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #any? 172s when created with no values 172s with a block 172s returns false 172s with a block 172s returns false 172s when created with values 172s with a block that returns true 172s returns true 172s with a block that doesn't return true 172s returns false 172s without a block 172s with some values that are truthy 172s returns true 172s with all values that are falsey 172s returns false 172s 172s Hamster::Vector 172s #assoc 172s searches for a 2-element array with a given 1st item 172s returns nil if a matching 1st item is not found 172s uses #== to compare 1st items with provided object 172s skips elements which are not indexable 172s #rassoc 172s searches for a 2-element array with a given 2nd item 172s returns nil if a matching 2nd item is not found 172s uses #== to compare 2nd items with provided object 172s skips elements which are not indexable 172s 172s Hamster::Vector 172s #bsearch 172s with a block which returns false for elements below desired position, and true for those at/above 172s returns the first element for which the predicate is true 172s if the block always returns false 172s returns nil 172s if the block always returns true 172s returns the first element 172s with a block which returns a negative number for elements below desired position, zero for the right element, and positive for those above 172s returns the element for which the block returns zero 172s if the block always returns positive 172s returns nil 172s if the block always returns negative 172s returns nil 172s if the block returns sometimes positive, sometimes negative, but never zero 172s returns nil 172s if not passed a block 172s returns an Enumerator 172s on an empty vector 172s returns nil 172s 172s Hamster::Vector 172s #clear 172s on [] 172s preserves the original 172s returns an empty vector 172s from a subclass 172s returns an instance of the subclass 172s on ["A"] 172s preserves the original 172s returns an empty vector 172s from a subclass 172s returns an instance of the subclass 172s on ["A", "B", "C"] 172s preserves the original 172s returns an empty vector 172s from a subclass 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #combination 172s works on many combinations of input 172s leaves the original unmodified 172s with a block 172s returns self 172s with no block 172s returns an Enumerator 172s when passed an argument which is out of bounds 172s yields nothing and returns self 172s when passed an argument zero 172s yields an empty array 172s when passed an argument equal to the vector's length 172s yields self as an array 172s when passed an argument 1 172s yields each item in the vector, as single-item vectors 172s when passed another integral argument 172s yields all combinations of the given length 172s on an empty vector 172s works the same 172s 172s Hamster::Vector 172s #compact 172s returns a new Vector with all nils removed 172s doesn't remove false 172s on an empty vector 172s returns self 172s from a subclass 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #<=> 172s with [] and [1] 172s returns -1 172s with [1] and [] 172s returns 1 172s with [] and [] 172s returns 0 172s with [1] and [2] 172s returns -1 172s with [2] and [1] 172s returns 1 172s with [1] and [1] 172s returns 0 172s with [1] and [1, 2] 172s returns -1 172s with [1, 2] and [1] 172s returns 1 172s with [1] and [1] 172s returns 0 172s with [2, 3, 4] and [3, 4, 5] 172s returns -1 172s with [3, 4, 5] and [2, 3, 4] 172s returns 1 172s with [2, 3, 4] and [2, 3, 4] 172s returns 0 172s with [[0]] and [[1]] 172s returns -1 172s with [[1]] and [[0]] 172s returns 1 172s with [[0]] and [[0]] 172s returns 0 172s 172s Hamster::Vector 172s #+ 172s preserves the original 172s appends the elements in the other enumerable 172s on a 1-item vector 172s works the same 172s on a 31-item vector 172s works the same 172s on a 32-item vector 172s works the same 172s on a 33-item vector 172s works the same 172s on a 1023-item vector 172s works the same 172s on a 1024-item vector 172s works the same 172s on a 1025-item vector 172s works the same 172s #concat 172s preserves the original 172s appends the elements in the other enumerable 172s on a 1-item vector 172s works the same 172s on a 31-item vector 172s works the same 172s on a 32-item vector 172s works the same 172s on a 33-item vector 172s works the same 172s on a 1023-item vector 172s works the same 172s on a 1024-item vector 172s works the same 172s on a 1025-item vector 172s works the same 172s 172s Hamster::Vector 172s on [] 172s returns self 172s on ["A"] 172s returns self 172s on ["A", "B", "C"] 172s returns self 172s on 1..32 172s returns self 172s on [] 172s returns self 172s on ["A"] 172s returns self 172s on ["A", "B", "C"] 172s returns self 172s on 1..32 172s returns self 172s 172s Hamster::Vector 172s #count 172s returns the number of elements 172s returns the number of elements that equal the argument 172s returns the number of element for which the block evaluates to true 172s 172s Hamster::Vector 172s #delete_at 172s removes the element at the specified index 172s makes no modification if the index is out of range 172s works when deleting last item at boundary where vector trie needs to get shallower 172s works on an empty vector 172s works on a vector with 1 item 172s works on a vector with 32 items 172s has the right size and contents after many deletions 172s 172s Hamster::Vector 172s #delete 172s removes elements that are #== to the argument 172s on an empty vector 172s returns self 172s on a subclass of Vector 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #dig 172s returns value at the index with one argument 172s returns value at index in nested arrays 172s returns nil when indexing deeper than possible 172s returns nil if you index past the end of an array 172s raises a type error when indexing with a key arrays don't understand 172s 172s Hamster::Vector 172s #drop 172s raises an ArgumentError if number of elements specified is negative 172s 10 from [] 172s preserves the original 172s returns [] 172s 10 from ["A"] 172s preserves the original 172s returns [] 172s 1 from ["A"] 172s preserves the original 172s returns [] 172s 0 from ["A"] 172s preserves the original 172s returns ["A"] 172s 0 from ["A", "B", "C"] 172s preserves the original 172s returns ["A", "B", "C"] 172s 2 from ["A", "B", "C"] 172s preserves the original 172s returns ["C"] 172s 3 from 1..32 172s preserves the original 172s returns 4..32 172s 32 from 1..33 172s preserves the original 172s returns [33] 172s when number of elements specified is zero 172s returns self 172s 172s Hamster::Vector 172s #drop_while 172s returns an empty vector if block is always true 172s stops dropping items if block returns nil 172s stops dropping items if block returns false 172s on [] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A"] 172s with a block 172s preserves the original 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C"] 172s with a block 172s preserves the original 172s returns ["C"] 172s without a block 172s returns an Enumerator 172s on an empty vector 172s returns an empty vector 172s 172s Hamster::Vector 172s #each_index 172s with a block 172s yields all the valid indices into the vector 172s returns self 172s without a block 172s returns an Enumerator 172s on an empty vector 172s doesn't yield anything 172s on a 1-item vector 172s yields all valid indices 172s on a 2-item vector 172s yields all valid indices 172s on a 10-item vector 172s yields all valid indices 172s on a 31-item vector 172s yields all valid indices 172s on a 32-item vector 172s yields all valid indices 172s on a 33-item vector 172s yields all valid indices 172s on a 1000-item vector 172s yields all valid indices 172s on a 1024-item vector 172s yields all valid indices 172s on a 1025-item vector 172s yields all valid indices 172s 172s Hamster::Vector 172s #each 172s with no block 172s returns an Enumerator 172s on a 31-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on a 32-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on a 33-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on a 1023-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on a 1024-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on a 1025-item vector 172s with a block 172s returns self 172s yields all the items 172s iterates over the items in order 172s on an empty vector 172s doesn't yield anything 172s 172s Hamster::Vector 172s #each_with_index 172s with no block 172s returns an Enumerator 172s on a 1-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 2-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 31-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 32-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 33-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 1023-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 1024-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on a 1025-item vector 172s with a block 172s returns self 172s iterates over the items in order 172s on an empty vector 172s doesn't yield anything 172s 172s Hamster::Vector 172s #empty? 172s on [] 172s returns true 172s on ["A"] 172s returns false 172s on ["A", "B", "C"] 172s returns false 172s .empty 172s returns the canonical empty vector 172s from a subclass 172s returns an empty instance of the subclass 172s calls overridden #initialize when creating empty Hash 172s 172s Hamster::Vector 172s #eql 172s returns false when comparing with an array with the same contents 172s returns false when comparing with an arbitrary object 172s returns false when comparing an empty vector with an empty array 172s returns false when comparing with a subclass of Hamster::Vector 172s #== 172s returns true when comparing with an array with the same contents 172s returns false when comparing with an arbitrary object 172s returns true when comparing an empty vector with an empty array 172s returns true when comparing with a subclass of Hamster::Vector 172s works on larger vectors 172s #eql? 172s returns true 172s for vectors [] and [] 172s for vectors [] and [] 172s returns false 172s for vectors [] and [nil] 172s for vectors [nil] and [] 172s returns false 172s for vectors ["A"] and [] 172s for vectors [] and ["A"] 172s returns true 172s for vectors ["A"] and ["A"] 172s for vectors ["A"] and ["A"] 172s returns false 172s for vectors ["A"] and ["B"] 172s for vectors ["B"] and ["A"] 172s returns false 172s for vectors ["A", "B"] and ["A"] 172s for vectors ["A"] and ["A", "B"] 172s returns true 172s for vectors ["A", "B", "C"] and ["A", "B", "C"] 172s for vectors ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for vectors ["C", "A", "B"] and ["A", "B", "C"] 172s for vectors ["A", "B", "C"] and ["C", "A", "B"] 172s #== 172s returns true 172s for vectors [] and [] 172s for vectors [] and [] 172s returns false 172s for vectors [] and [nil] 172s for vectors [nil] and [] 172s returns false 172s for vectors ["A"] and [] 172s for vectors [] and ["A"] 172s returns true 172s for vectors ["A"] and ["A"] 172s for vectors ["A"] and ["A"] 172s returns false 172s for vectors ["A"] and ["B"] 172s for vectors ["B"] and ["A"] 172s returns false 172s for vectors ["A", "B"] and ["A"] 172s for vectors ["A"] and ["A", "B"] 172s returns true 172s for vectors ["A", "B", "C"] and ["A", "B", "C"] 172s for vectors ["A", "B", "C"] and ["A", "B", "C"] 172s returns false 172s for vectors ["C", "A", "B"] and ["A", "B", "C"] 172s for vectors ["A", "B", "C"] and ["C", "A", "B"] 172s 172s Hamster::Vector 172s #fetch 172s gives precedence to default block over default argument if passed both 172s with no default provided 172s when the index exists 172s returns the value at the index 172s when the key does not exist 172s raises an IndexError 172s with a default value 172s when the index exists 172s returns the value at the index 172s when the index does not exist 172s returns the default value 172s with a default block 172s when the index exists 172s returns the value at the index 172s when the index does not exist 172s invokes the block with the missing index as parameter 172s 172s Hamster::Vector 172s #fill 172s can replace a range of items at the beginning of a vector 172s can replace a range of items in the middle of a vector 172s can replace a range of items at the end of a vector 172s can replace all the items in a vector 172s can fill past the end of the vector 172s behaves like Array#fill, on a variety of inputs 172s with 1 argument 172s replaces all the items in the vector by default 172s with 2 arguments 172s replaces up to the end of the vector by default 172s when index and length are 0 172s leaves the vector unmodified 172s when expanding a vector past boundary where vector trie needs to deepen 172s works the same 172s on a 1000-item vector 172s works the same 172s on a 1023-item vector 172s works the same 172s on a 1024-item vector 172s works the same 172s on a 1025-item vector 172s works the same 172s on a 2000-item vector 172s works the same 172s 172s Hamster::Vector 172s #first 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["A", "B", "C"] 172s returns "A" 172s on 1..32 172s returns 1 172s 172s Hamster::Vector 172s #flat_map 172s with an empty vector 172s returns the flattened values as a Hamster::Vector 172s returns a Hamster::Vector 172s with a block that returns an empty vector 172s returns the flattened values as a Hamster::Vector 172s returns a Hamster::Vector 172s with a vector of one item 172s returns the flattened values as a Hamster::Vector 172s returns a Hamster::Vector 172s with a vector of multiple items 172s returns the flattened values as a Hamster::Vector 172s returns a Hamster::Vector 172s 172s Hamster::Vector 172s #flatten 172s recursively flattens nested vectors into containing vector 172s flattens nested arrays as well 172s leaves the original unmodified 172s with an integral argument 172s only flattens down to the specified depth 172s with an argument of zero 172s returns self 172s on a subclass 172s returns an instance of the subclass 172s on a vector with no nested vectors 172s returns an unchanged vector 172s on a Vector larger than 32 items initialized with Vector.new 172s returns an unchanged vector 172s 172s Hamster::Vector 172s #get 172s when empty 172s always returns nil 172s when not empty 172s with a positive index 172s within the absolute bounds of the vector 172s returns the value at the specified index from the head 172s outside the absolute bounds of the vector 172s returns nil 172s with a negative index 172s within the absolute bounds of the vector 172s returns the value at the specified index from the tail 172s outside the absolute bounds of the vector 172s returns nil 172s on a 1-item vector 172s works correctly, even after various addings and removings 172s on a 10-item vector 172s works correctly, even after various addings and removings 172s on a 31-item vector 172s works correctly, even after various addings and removings 172s on a 32-item vector 172s works correctly, even after various addings and removings 172s on a 33-item vector 172s works correctly, even after various addings and removings 172s on a 1024-item vector 172s works correctly, even after various addings and removings 172s on a 1025-item vector 172s works correctly, even after various addings and removings 172s on a 2000-item vector 172s works correctly, even after various addings and removings 172s #at 172s when empty 172s always returns nil 172s when not empty 172s with a positive index 172s within the absolute bounds of the vector 172s returns the value at the specified index from the head 172s outside the absolute bounds of the vector 172s returns nil 172s with a negative index 172s within the absolute bounds of the vector 172s returns the value at the specified index from the tail 172s outside the absolute bounds of the vector 172s returns nil 172s on a 1-item vector 172s works correctly, even after various addings and removings 172s on a 10-item vector 172s works correctly, even after various addings and removings 172s on a 31-item vector 172s works correctly, even after various addings and removings 172s on a 32-item vector 172s works correctly, even after various addings and removings 172s on a 33-item vector 172s works correctly, even after various addings and removings 172s on a 1024-item vector 172s works correctly, even after various addings and removings 172s on a 1025-item vector 172s works correctly, even after various addings and removings 172s on a 2000-item vector 172s works correctly, even after various addings and removings 172s 172s Hamster::Vector 172s #group_by 172s returns a hash without default proc 172s with a block 172s on [] 172s returns [] 172s on [1] 172s returns [{true=>Hamster::Vector[1]}] 172s on [1, 2, 3, 4] 172s returns [{true=>Hamster::Vector[1, 3], false=>Hamster::Vector[2, 4]}] 172s without a block 172s on [] 172s returns [] 172s on [1] 172s returns [{1=>Hamster::Vector[1]}] 172s on [1, 2, 3, 4] 172s returns [{1=>Hamster::Vector[1], 2=>Hamster::Vector[2], 3=>Hamster::Vector[3], 4=>Hamster::Vector[4]}] 172s on an empty vector 172s returns an empty hash 172s from a subclass 172s returns an Hash whose values are instances of the subclass 172s 172s Hamster::Vector 172s #include? 172s on [] 172s returns false 172s on [] 172s returns false 172s on ["A"] 172s returns true 172s on ["A"] 172s returns false 172s on ["A"] 172s returns false 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns false 172s on ["A", "B", false] 172s returns true 172s on [2] 172s returns true 172s on [2] 172s returns true 172s on [2.0] 172s returns true 172s on [2.0] 172s returns true 172s #member? 172s on [] 172s returns false 172s on [] 172s returns false 172s on ["A"] 172s returns true 172s on ["A"] 172s returns false 172s on ["A"] 172s returns false 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns true 172s on ["A", "B", nil] 172s returns false 172s on ["A", "B", false] 172s returns true 172s on [2] 172s returns true 172s on [2] 172s returns true 172s on [2.0] 172s returns true 172s on [2.0] 172s returns true 172s 172s Hamster::Vector 172s #insert 172s can add items at the beginning of a vector 172s can add items in the middle of a vector 172s can add items at the end of a vector 172s can add items past the end of a vector 172s accepts a negative index, which counts back from the end of the vector 172s raises IndexError if a negative index is too great 172s works when adding an item past boundary when vector trie needs to deepen 172s works when adding to an empty Vector 172s has the right size and contents after many insertions 172s 172s Hamster::Vector 172s #inspect 172s with an empty array 172s returns its contents as a programmer-readable string 172s returns a string which can be eval'd to get back an equivalent vector 172s with a single item array 172s returns its contents as a programmer-readable string 172s returns a string which can be eval'd to get back an equivalent vector 172s with a multi-item array 172s returns its contents as a programmer-readable string 172s returns a string which can be eval'd to get back an equivalent vector 172s from a subclass 172s returns its contents as a programmer-readable string 172s returns a string which can be eval'd to get back an equivalent vector 172s 172s Hamster::Vector 172s #join 172s with a separator 172s on [] 172s preserves the original 172s returns "" 172s on ["A"] 172s preserves the original 172s returns "A" 172s on ["A", "B", "C"] 172s preserves the original 172s returns "A|B|C" 172s without a separator 172s on [] 172s preserves the original 172s returns "" 172s on ["A"] 172s preserves the original 172s returns "A" 172s on ["A", "B", "C"] 172s preserves the original 172s returns "ABC" 172s without a separator (with global default separator set) 172s on ["A", "B", "C"] 172s returns "A**B**C" 172s 172s Hamster::Vector 172s #last 172s with an empty vector 172s returns the last item 172s with a single item vector 172s returns the last item 172s with a multi-item vector 172s returns the last item 172s with a 31-item vector 172s returns the last item 172s with a 32-item vector 172s returns the last item 172s with a 33-item vector 172s returns the last item 172s with a 1023-item vector 172s returns the last item 172s with a 1024-item vector 172s returns the last item 172s with a 1025-item vector 172s returns the last item 172s 172s Hamster::Vector 172s #length 172s with an empty vector 172s returns the values 172s with a single item vector 172s returns the values 172s with a multi-item vector 172s returns the values 172s with a 31-item vector 172s returns the values 172s with a 32-item vector 172s returns the values 172s with a 33-item vector 172s returns the values 172s with a 1023-item vector 172s returns the values 172s with a 1024-item vector 172s returns the values 172s with a 1025-item vector 172s returns the values 172s 172s Hamster::Vector 172s #<< 172s with a empty array adding a single item 172s preserves the original 172s ltlts the item to the vector 172s with a single-item array adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a single-item array adding a duplicate item 172s preserves the original 172s ltlts the item to the vector 172s with a 31-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a 32-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a 33-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a 1023-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a 1024-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s with a 1025-item vector adding a different item 172s preserves the original 172s ltlts the item to the vector 172s from a subclass 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s #map 172s when empty 172s returns self 172s when not empty 172s with a block 172s preserves the original values 172s returns a new vector with the mapped values 172s with no block 172s returns an Enumerator 172s from a subclass 172s returns an instance of the subclass 172s on a large vector 172s works 172s #collect 172s when empty 172s returns self 172s when not empty 172s with a block 172s preserves the original values 172s returns a new vector with the mapped values 172s with no block 172s returns an Enumerator 172s from a subclass 172s returns an instance of the subclass 172s on a large vector 172s works 172s 172s Hamster::Vector 172s #marshal_dump/#marshal_load 172s can survive dumping and loading into a new process 172s is still possible to find items by index after loading 172s 172s Hamster::Vector 172s #max 172s with a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "Ichi" 172s without a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "San" 172s 172s Hamster::Vector 172s #min 172s with a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "Ni" 172s without a block 172s on [] 172s returns nil 172s on ["A"] 172s returns "A" 172s on ["Ichi", "Ni", "San"] 172s returns "Ichi" 172s 172s Hamster::Vector 172s #* 172s raises a TypeError if passed nil 172s raises an ArgumentError if passed no arguments 172s with a String argument 172s acts just like #join 172s with an Integer argument 172s concatenates n copies of the array 172s raises an ArgumentError if integer is negative 172s works on large vectors 172s with a subclass of Vector 172s returns an instance of the subclass 172s 172s Hamster::Vector 172s .new 172s accepts a single enumerable argument and creates a new vector 172s makes a defensive copy of a non-frozen mutable Array passed in 172s is amenable to overriding of #initialize 172s from a subclass 172s returns a frozen instance of the subclass 172s .[] 172s accepts a variable number of items and creates a new vector 172s 172s Hamster::Vector 172s #partition 172s on [] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [1] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [1, 2] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [1, 2, 3] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [1, 2, 3, 4] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [2, 3, 4] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [3, 4] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s on [4] 172s with a block 172s preserves the original 172s returns a frozen array with two items 172s correctly identifies the matches 172s correctly identifies the remainder 172s without a block 172s returns an Enumerator 172s 172s Hamster::Vector 172s #permutation 172s handles duplicate elements correctly 172s leaves the original unmodified 172s behaves like Array#permutation 172s without a block or arguments 172s returns an Enumerator of all permutations 172s without a block, but with integral argument 172s returns an Enumerator of all permutations of given length 172s with a block 172s returns self 172s and no argument 172s yields all permutations 172s and an integral argument 172s yields all permutations of the given length 172s on an empty vector 172s yields the empty permutation 172s with an argument of zero 172s yields the empty permutation 172s with a length greater than the size of the vector 172s yields no permutations 172s 172s Hamster::Vector 172s #pop 172s on [] 172s preserves the original 172s returns [] 172s on ["A"] 172s preserves the original 172s returns [] 172s on ["A", "B", "C"] 172s preserves the original 172s returns ["A", "B"] 172s on 1..32 172s preserves the original 172s returns 1..31 172s on 1..33 172s preserves the original 172s returns 1..32 172s 172s Hamster::Vector 172s #product 172s when passed no arguments 172s multiplies all items in vector 172s when passed one or more vectors 172s when passed a block 172s yields an array for each combination of items from the vectors 172s returns self 172s when not passed a block 172s returns the cartesian product in an array 172s when one of the arguments is empty 172s returns an empty array 172s when the receiver is empty 172s returns an empty array 172s when passed one or more Arrays 172s also calculates the cartesian product correctly 172s 172s Hamster::Vector 172s #put 172s when empty 172s WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /tmp/autopkgtest.D2NvST/build.OoF/src/spec/lib/hamster/vector/put_spec.rb:12:in `block (4 levels) in '. 172s raises an error for index -1 172s allows indexes 0 and 1 to be put 172s when not empty 172s with a block 172s and a positive index 172s within the absolute bounds of the vector 172s passes the current value to the block 172s replaces the value with the result of the block 172s supports to_proc methods 172s just past the end of the vector 172s passes nil to the block and adds a new value 172s further outside the bounds of the vector 172s passes nil to the block, fills up missing nils, and adds a new value 172s and a negative index 172s within the absolute bounds of the vector 172s passes the current value to the block 172s replaces the value with the result of the block 172s supports to_proc methods 172s outside the absolute bounds of the vector 172s WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /tmp/autopkgtest.D2NvST/build.OoF/src/spec/lib/hamster/vector/put_spec.rb:76:in `block (7 levels) in '. 172s raises an error 172s with a value 172s and a positive index 172s within the absolute bounds of the vector 172s preserves the original 172s puts the new value at the specified index 172s just past the end of the vector 172s adds a new value 172s outside the absolute bounds of the vector 172s fills up with nils 172s with a negative index 172s preserves the original 172s puts the new value at the specified index 172s outside the absolute bounds of the vector 172s WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /tmp/autopkgtest.D2NvST/build.OoF/src/spec/lib/hamster/vector/put_spec.rb:126:in `block (6 levels) in '. 172s raises an error 172s from a subclass 172s returns an instance of the subclass 172s on a 10-item vector 172s works correctly 172s on a 31-item vector 172s works correctly 172s on a 32-item vector 172s works correctly 172s on a 33-item vector 172s works correctly 172s on a 1000-item vector 172s works correctly 172s on a 1023-item vector 172s works correctly 172s on a 1024-item vector 172s works correctly 172s on a 1025-item vector 172s works correctly 172s on a 2000-item vector 172s works correctly 172s with an identical value to an existing item 172s on a 1-item vector 172s returns self 172s on a 2-item vector 172s returns self 172s on a 5-item vector 172s returns self 172s on a 31-item vector 172s returns self 172s on a 32-item vector 172s returns self 172s on a 33-item vector 172s returns self 172s on a 100-item vector 172s returns self 172s on a 200-item vector 172s returns self 172s 172s Hamster::Vector 172s #reduce 172s on [] 172s with an initial value of 10 172s and a block 172s returns 10 172s on [1] 172s with an initial value of 10 172s and a block 172s returns 9 172s on [1, 2, 3] 172s with an initial value of 10 172s and a block 172s returns 4 172s on [] 172s with no initial value 172s and a block 172s returns nil 172s on [1] 172s with no initial value 172s and a block 172s returns 1 172s on [1, 2, 3] 172s with no initial value 172s and a block 172s returns -4 172s with no block and a symbol argument 172s uses the symbol as the name of a method to reduce with 172s with no block and a string argument 172s uses the string as the name of a method to reduce with 172s #inject 172s on [] 172s with an initial value of 10 172s and a block 172s returns 10 172s on [1] 172s with an initial value of 10 172s and a block 172s returns 9 172s on [1, 2, 3] 172s with an initial value of 10 172s and a block 172s returns 4 172s on [] 172s with no initial value 172s and a block 172s returns nil 172s on [1] 172s with no initial value 172s and a block 172s returns 1 172s on [1, 2, 3] 172s with no initial value 172s and a block 172s returns -4 172s with no block and a symbol argument 172s uses the symbol as the name of a method to reduce with 172s with no block and a string argument 172s uses the string as the name of a method to reduce with 172s 172s Hamster::Vector 172s #reject 172s works with a variety of inputs 172s on [] 172s with a block 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A"] 172s with a block 172s returns ["A"] 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C"] 172s with a block 172s returns ["A", "B", "C"] 172s without a block 172s returns an Enumerator 172s on ["A", "b", "C"] 172s with a block 172s returns ["A", "C"] 172s without a block 172s returns an Enumerator 172s on ["a", "b", "c"] 172s with a block 172s returns [] 172s without a block 172s returns an Enumerator 172s #delete_if 172s works with a variety of inputs 172s on [] 172s with a block 172s returns [] 172s without a block 172s returns an Enumerator 172s on ["A"] 172s with a block 172s returns ["A"] 172s without a block 172s returns an Enumerator 172s on ["A", "B", "C"] 172s with a block 172s returns ["A", "B", "C"] 172s without a block 172s returns an Enumerator 172s on ["A", "b", "C"] 172s with a block 172s returns ["A", "C"] 172s without a block 172s returns an Enumerator 172s on ["a", "b", "c"] 172s with a block 172s returns [] 172s without a block 172s returns an Enumerator 172s 172s Hamster::Vector 172s #repeated_combination 172s leaves the original unmodified 172s behaves like Array#repeated_combination 172s with no block 172s returns an Enumerator 172s with a block 172s returns self 172s with a negative argument 172s yields nothing and returns self 172s with a zero argument 172s yields an empty array 172s with a argument of 1 172s yields each item in the vector, as single-item vectors 172s on an empty vector, with an argument greater than zero 172s yields nothing 172s with a positive argument, greater than 1 172s yields all combinations of the given size (where a single element can appear more than once in a row) 172s 172s Hamster::Vector 172s #repeated_permutation 172s handles duplicate elements correctly 172s allows permutations larger than the number of elements 172s leaves the original unmodified 173s behaves like Array#repeated_permutation 173s without a block 173s and without argument 173s returns an Enumerator of all repeated permutations 173s with an integral argument 173s returns an Enumerator of all repeated permutations of the given length 173s with a block 173s returns self 173s on an empty vector 173s yields the empty permutation 173s with an argument of zero 173s yields the empty permutation 173s with no argument 173s yields all repeated permutations 173s with a positive integral argument 173s yields all repeated permutations of the given length 173s 173s Hamster::Vector 173s #reverse_each 173s on a 2-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 31-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 32-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 33-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 1000-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 1024-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 1025-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s on a 2000-item vector 173s with a block (internal iteration) 173s returns self 173s yields all items in the opposite order as #each 173s with no block 173s returns an Enumerator 173s 173s Hamster::Vector 173s #reverse 173s on [] 173s returns [] 173s on [1] 173s returns [1] 173s on [1, 2] 173s returns [2, 1] 173s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32] 173s returns [32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] 173s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33] 173s returns [33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] 173s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100] 173s returns [100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] 173s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024] 173s returns [1024, 1023, 1022, 1021, 1020, 1019, 1018, 1017, 1016, 1015, 1014, 1013, 1012, 1011, 1010, 1009, 1008, 1007, 1006, 1005, 1004, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 989, 988, 987, 986, 985, 984, 983, 982, 981, 980, 979, 978, 977, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, 955, 954, 953, 952, 951, 950, 949, 948, 947, 946, 945, 944, 943, 942, 941, 940, 939, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, 850, 849, 848, 847, 846, 845, 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, 831, 830, 829, 828, 827, 826, 825, 824, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] 173s 173s Hamster::Vector 173s #rindex 173s when passed an object present in the vector 173s returns the last index where the object is present 173s when passed an object not present in the vector 173s returns nil 173s with a block 173s returns the last index of an object which the predicate is true for 173s without an argument OR block 173s returns an Enumerator 173s 173s Hamster::Vector 173s #rotate 173s leaves the original unmodified 173s when passed no argument 173s returns a new vector with the first element moved to the end 173s with an integral argument n 173s returns a new vector with the first (n % size) elements moved to the end 173s with a floating-point argument n 173s coerces the argument to integer using to_int 173s with a non-numeric argument 173s raises a TypeError 173s with an argument of zero 173s returns self 173s with an argument equal to the vector's size 173s returns self 173s on a 31-item vector 173s behaves like Array#rotate 173s on a 32-item vector 173s behaves like Array#rotate 173s on a 33-item vector 173s behaves like Array#rotate 173s on a 1000-item vector 173s behaves like Array#rotate 173s on a 1023-item vector 173s behaves like Array#rotate 173s on a 1024-item vector 173s behaves like Array#rotate 173s on a 1025-item vector 173s behaves like Array#rotate 173s from a subclass 173s returns an instance of the subclass 173s 173s Hamster::Vector 173s #sample 173s returns a randomly chosen item 173s 173s Hamster::Vector 173s #select 173s works with a variety of inputs 173s with a block 173s preserves the original 173s returns a vector with the matching values 173s with no block 173s returns an Enumerator 173s when nothing matches 173s preserves the original 173s returns an empty vector 173s on an empty vector 173s returns self 173s from a subclass 173s returns an instance of the subclass 173s #find_all 173s works with a variety of inputs 173s with a block 173s preserves the original 173s returns a vector with the matching values 173s with no block 173s returns an Enumerator 173s when nothing matches 173s preserves the original 173s returns an empty vector 173s on an empty vector 173s returns self 173s from a subclass 173s returns an instance of the subclass 173s 173s Hamster::Vector 173s #set 173s without block 173s replaces the element 173s with block 173s passes the existing element to the block and replaces the result 173s 173s Hamster::Vector 173s #shift 173s on [] 173s preserves the original 173s returns [] 173s on ["A"] 173s preserves the original 173s returns [] 173s on ["A", "B", "C"] 173s preserves the original 173s returns ["B", "C"] 173s on 1..31 173s preserves the original 173s returns 2..31 173s on 1..32 173s preserves the original 173s returns 2..32 173s on 1..33 173s preserves the original 173s returns 2..33 173s 173s Hamster::Vector 173s #shuffle 173s returns the same values, in a usually different order 173s leaves the original unchanged 173s from a subclass 173s returns an instance of the subclass 173s on a 32-item vector 173s works correctly 173s on a 33-item vector 173s works correctly 173s on a 1023-item vector 173s works correctly 173s on a 1024-item vector 173s works correctly 173s on a 1025-item vector 173s works correctly 173s 173s Hamster::Vector 173s #slice 173s when passed a positive integral index 173s returns the element at that index 173s leaves the original unchanged 173s when passed a negative integral index 173s returns the element which is number (index.abs) counting from the end of the vector 173s when passed a positive integral index and count 173s returns 'count' elements starting from 'index' 173s leaves the original unchanged 173s when passed a negative integral index and count 173s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 173s when passed a Range 173s returns the elements whose indexes are within the given Range 173s leaves the original unchanged 173s when passed a subclass of Range 173s works the same as with a Range 173s on a subclass of Vector 173s with index and count or a range, returns an instance of the subclass 173s #[] 173s when passed a positive integral index 173s returns the element at that index 173s leaves the original unchanged 173s when passed a negative integral index 173s returns the element which is number (index.abs) counting from the end of the vector 173s when passed a positive integral index and count 173s returns 'count' elements starting from 'index' 173s leaves the original unchanged 173s when passed a negative integral index and count 173s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 173s when passed a Range 173s returns the elements whose indexes are within the given Range 173s leaves the original unchanged 173s when passed a subclass of Range 173s works the same as with a Range 173s on a subclass of Vector 173s with index and count or a range, returns an instance of the subclass 173s 173s Hamster::Vector 173s #sort 173s on [] 173s with a block 173s preserves the original 173s returns [] 173s without a block 173s preserves the original 173s returns [] 173s on ["A"] 173s with a block 173s preserves the original 173s returns ["A"] 173s without a block 173s preserves the original 173s returns ["A"] 173s on ["Ichi", "Ni", "San"] 173s with a block 173s preserves the original 173s returns ["Ni", "San", "Ichi"] 173s without a block 173s preserves the original 173s returns ["Ichi", "Ni", "San"] 173s on a 10-item vector 173s behaves like Arraysort 173s on a 31-item vector 173s behaves like Arraysort 173s on a 32-item vector 173s behaves like Arraysort 173s on a 33-item vector 173s behaves like Arraysort 173s on a 1023-item vector 173s behaves like Arraysort 173s on a 1024-item vector 173s behaves like Arraysort 173s on a 1025-item vector 173s behaves like Arraysort 173s #sort_by 173s on [] 173s with a block 173s preserves the original 173s returns [] 173s without a block 173s preserves the original 173s returns [] 173s on ["A"] 173s with a block 173s preserves the original 173s returns ["A"] 173s without a block 173s preserves the original 173s returns ["A"] 173s on ["Ichi", "Ni", "San"] 173s with a block 173s preserves the original 173s returns ["Ni", "San", "Ichi"] 173s without a block 173s preserves the original 173s returns ["Ichi", "Ni", "San"] 173s on a 10-item vector 173s behaves like Arraysort_by 173s on a 31-item vector 173s behaves like Arraysort_by 173s on a 32-item vector 173s behaves like Arraysort_by 173s on a 33-item vector 173s behaves like Arraysort_by 173s on a 1023-item vector 173s behaves like Arraysort_by 173s on a 1024-item vector 173s behaves like Arraysort_by 173s on a 1025-item vector 173s behaves like Arraysort_by 173s 173s Hamster::Vector 173s #sum 173s on [] 173s returns 0 173s on [2] 173s returns 2 173s on [1, 3, 5, 7, 11] 173s returns 27 173s 173s Hamster::Vector 173s #take 173s 10 from [] 173s preserves the original 173s returns [] 173s 10 from ["A"] 173s preserves the original 173s returns ["A"] 173s 0 from ["A", "B", "C"] 173s preserves the original 173s returns [] 173s 2 from ["A", "B", "C"] 173s preserves the original 173s returns ["A", "B"] 173s 1 from 1..32 173s preserves the original 173s returns [1] 173s 32 from 1..33 173s preserves the original 173s returns 1..32 173s 40 from 1..100 173s preserves the original 173s returns 1..40 173s when number of elements specified is identical to size 173s returns self 173s when number of elements specified is bigger than size 173s returns self 173s 173s Hamster::Vector 173s #take_while 173s on [] 173s with a block 173s returns [] 173s preserves the original 173s without a block 173s returns an Enumerator 173s on ["A"] 173s with a block 173s returns ["A"] 173s preserves the original 173s without a block 173s returns an Enumerator 173s on ["A", "B", "C"] 173s with a block 173s returns ["A", "B"] 173s preserves the original 173s without a block 173s returns an Enumerator 173s 173s Hamster::Vector 173s #to_a 173s with an empty vector 173s returns the values 173s with an single item vector 173s returns the values 173s with an multi-item vector 173s returns the values 173s with a 10-item vector 173s returns the values 173s with a 31-item vector 173s returns the values 173s with a 32-item vector 173s returns the values 173s with a 33-item vector 173s returns the values 173s with a 1000-item vector 173s returns the values 173s with a 1023-item vector 173s returns the values 173s with a 1024-item vector 173s returns the values 173s with a 1025-item vector 173s returns the values 173s 173s Hamster::Vector 173s #to_ary 173s converts using block parameters 173s converts using method arguments 173s converts using splat 173s 173s Hamster::Vector 173s #to_list 173s on [] 173s returns a list 173s the returned list 173s has the correct length 173s contains all values 173s on ["A"] 173s returns a list 173s the returned list 173s has the correct length 173s contains all values 173s on ["A", "B", "C"] 173s returns a list 173s the returned list 173s has the correct length 173s contains all values 173s 173s Hamster::Vector 173s #to_set 173s on [] 173s returns a set with the same values 173s on ["A"] 173s returns a set with the same values 173s on ["A", "B", "C"] 173s returns a set with the same values 173s on 1..10 173s returns a set with the same values 173s on 1..32 173s returns a set with the same values 173s on 1..33 173s returns a set with the same values 173s on 1..1000 173s returns a set with the same values 173s 173s Hamster::Vector 173s #transpose 173s takes a vector of vectors and transposes rows and columns 173s raises an IndexError if the vectors are not of the same length 173s also works on Vectors of Arrays 173s on 10-item vectors 173s behaves like Array#transpose 173s on 31-item vectors 173s behaves like Array#transpose 173s on 32-item vectors 173s behaves like Array#transpose 173s on 33-item vectors 173s behaves like Array#transpose 173s on 1000-item vectors 173s behaves like Array#transpose 173s on 1023-item vectors 173s behaves like Array#transpose 173s on 1024-item vectors 173s behaves like Array#transpose 173s on 1025-item vectors 173s behaves like Array#transpose 173s on 2000-item vectors 173s behaves like Array#transpose 173s on a subclass of Vector 173s returns instances of the subclass 173s 173s Hamster::Vector 173s #uniq 173s returns a vector with no duplicates 173s leaves the original unmodified 173s uses #eql? semantics 173s also uses #hash when determining which values are duplicates 173s keeps the first of each group of duplicate values 173s when passed a block 173s uses the return value of the block to determine which items are duplicate 173s on a vector with no duplicates 173s returns an unchanged vector 173s if the vector has more than 32 elements and is initialized with Vector.new 173s returns an unchanged vector 173s on a 10-item vector 173s behaves like Array#uniq 173s on a 31-item vector 173s behaves like Array#uniq 173s on a 32-item vector 173s behaves like Array#uniq 173s on a 33-item vector 173s behaves like Array#uniq 173s on a 1000-item vector 173s behaves like Array#uniq 173s on a 1023-item vector 173s behaves like Array#uniq 173s on a 1024-item vector 173s behaves like Array#uniq 173s on a 1025-item vector 173s behaves like Array#uniq 173s on a 2000-item vector 173s behaves like Array#uniq 173s from a subclass 173s returns an instance of the subclass 173s 173s Hamster::Vector 173s #unshift 173s on [] with "A" 173s preserves the original 173s returns ["A"] 173s on ["A"] with "B" 173s preserves the original 173s returns ["B", "A"] 173s on ["A"] with "A" 173s preserves the original 173s returns ["A", "A"] 173s on ["A", "B", "C"] with "D" 173s preserves the original 173s returns ["D", "A", "B", "C"] 173s on 1..31 with 0 173s preserves the original 173s returns 0..31 173s on 1..32 with 0 173s preserves the original 173s returns 0..32 173s on 1..33 with 0 173s preserves the original 173s returns 0..33 173s 173s Hamster::Vector 173s #values_at 173s accepts any number of indices, and returns a vector of items at those indices 173s when passed invalid indices 173s fills in with nils 173s when passed no arguments 173s returns an empty vector 173s from a subclass 173s returns an instance of the subclass 173s 173s Hamster::Vector 173s #zip 173s with a block 173s yields arrays of one corresponding element from each input sequence 173s fills in the missing values with nils 173s returns nil 173s can handle multiple inputs, of different classes 173s without a block 173s returns a vector of arrays (one corresponding element from each input sequence) 173s on 10-item vectors 173s behaves like Array#zip 173s on 31-item vectors 173s behaves like Array#zip 173s on 32-item vectors 173s behaves like Array#zip 173s on 33-item vectors 173s behaves like Array#zip 173s on 1000-item vectors 173s behaves like Array#zip 173s on 1023-item vectors 173s behaves like Array#zip 173s on 1024-item vectors 173s behaves like Array#zip 173s on 1025-item vectors 173s behaves like Array#zip 173s from a subclass 173s returns an instance of the subclass 173s 173s Hamster 173s Hash 173s can be loaded separately 173s Set 173s can be loaded separately 173s Vector 173s can be loaded separately 173s List 173s can be loaded separately 173s SortedSet 173s can be loaded separately 173s Deque 173s can be loaded separately 173s 173s Pending: (Failures listed here are expected and do not affect your suite's status) 173s 173s 1) Hamster::List doesn't give horrendously bad performance if thread realizing the list sleeps 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/list/multithreading_spec.rb:33 173s 173s 2) Hamster.to_ruby with Hamster::Hash["e" => Hamster::Hash["g" => 9, "f" => 8], "a" => 1, "h" => /ijk/, "d" => Hamster::Set[5, 6, 7], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4]] as input should return {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 3) Hamster.to_ruby with Hamster::Hash[] as input should return {} 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 4) Hamster.to_ruby with Hamster::Hash["c" => 3, "a" => 1, "b" => 2] as input should return {"a"=>1, "b"=>2, "c"=>3} 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 5) Hamster.to_ruby with Hamster::Vector[] as input should return [] 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 6) Hamster.to_ruby with Hamster::Vector[1, 2, 3] as input should return [1, 2, 3] 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 7) Hamster.to_ruby with Hamster::Set[] as input should return # 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 8) Hamster.to_ruby with Hamster::Set[1, 2, 3] as input should return # 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 9) Hamster.to_ruby with 42 as input should return 42 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s 10) Hamster.to_ruby with #> as input should return #> 173s # Temporarily skipped with xit 173s # ./spec/lib/hamster/nested/construction_spec.rb:64 173s 173s Finished in 5.85 seconds (files took 0.72275 seconds to load) 173s 4593 examples, 0 failures, 10 pending 173s 173s mv ./.gem2deb.lib lib 173s autopkgtest [05:17:27]: test gem2deb-test-runner: -----------------------] 174s gem2deb-test-runner PASS 174s autopkgtest [05:17:28]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 174s autopkgtest [05:17:28]: @@@@@@@@@@@@@@@@@@@@ summary 174s gem2deb-test-runner PASS