0s autopkgtest [05:51:08]: starting date and time: 2026-02-10 05:51:08+0000 0s autopkgtest [05:51:08]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [05:51:08]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ymcng19q/out --timeout-copy=6000 --needs-internet=try --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-20@sto01-23.secgroup --name adt-resolute-amd64-ruby-hamster-20260210-053856-juju-7f2275-prod-proposed-migration-environment-20-bf985ece-72a7-4439-b6e7-aeb8bfdcb9e0 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-ruby-hamster-20260210-053856-juju-7f2275-prod-proposed-migration-environment-20-bf985ece-72a7-4439-b6e7-aeb8bfdcb9e0 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 77s autopkgtest [05:52:25]: testbed dpkg architecture: amd64 77s autopkgtest [05:52:25]: testbed apt version: 3.1.14 77s autopkgtest [05:52:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 77s autopkgtest [05:52:25]: testbed release detected to be: None 78s autopkgtest [05:52:26]: updating testbed package index (apt update) 78s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 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 78s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 78s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 78s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 78s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [219 kB] 78s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [266 kB] 78s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6184 B] 78s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 79s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1787 kB] 79s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [792 kB] 79s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [32.5 kB] 79s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [26.4 kB] 79s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [5020 B] 79s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 80s Fetched 5197 kB in 1s (4783 kB/s) 80s Reading package lists... 81s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 81s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 81s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 81s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 82s Reading package lists... 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s Calculating upgrade... 82s The following package was automatically installed and is no longer required: 82s libpython3.13 82s Use 'sudo apt autoremove' to remove it. 82s The following NEW packages will be installed: 82s gcc-16-base libpython3.14 libpython3.14-minimal libpython3.14-stdlib 82s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 82s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 82s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 82s The following packages will be upgraded: 82s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static 82s cryptsetup-bin dash dbus dbus-bin dbus-daemon dbus-session-bus-common 82s dbus-system-bus-common dbus-user-session debianutils dmsetup dracut-install 82s ethtool findutils gir1.2-girepository-3.0 gir1.2-glib-2.0 hwdata iproute2 82s iptables less libapt-pkg7.0 libatomic1 libattr1 libbpf1 libbrotli1 libbsd0 82s libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common 82s libdrm2 libevent-core-2.1-7t64 libgcc-s1 libgdbm-compat4t64 libgdbm6t64 82s libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 82s libidn2-0 libip4tc2 libip6tc2 libjansson4 libkeyutils1 liblsof0 82s libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 libonig5 libpcap0.8t64 82s libpci3 libsensors-config libsensors5 libstdc++6 libusb-1.0-0 libwrap0 82s libxau6 libxkbcommon0 libxtables12 linux-generic linux-headers-generic 82s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 82s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 82s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 82s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard wget 82s 91 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 237 MB of archives. 82s After this operation, 339 MB of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 82s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 82s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 82s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 82s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 82s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-16-base amd64 16-20260208-1ubuntu1 [59.7 kB] 82s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-s1 amd64 16-20260208-1ubuntu1 [80.3 kB] 82s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 82s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 82s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++6 amd64 16-20260208-1ubuntu1 [844 kB] 82s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 82s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 83s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-system-bus-common all 1.16.2-2ubuntu3 [55.8 kB] 83s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-session-bus-common all 1.16.2-2ubuntu3 [54.4 kB] 83s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-user-session amd64 1.16.2-2ubuntu3 [9696 B] 83s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-daemon amd64 1.16.2-2ubuntu3 [119 kB] 83s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-bin amd64 1.16.2-2ubuntu3 [40.1 kB] 83s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus amd64 1.16.2-2ubuntu3 [24.2 kB] 83s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdbus-1-3 amd64 1.16.2-2ubuntu3 [185 kB] 83s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 83s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 83s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 83s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 83s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 83s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libatomic1 amd64 16-20260208-1ubuntu1 [11.4 kB] 83s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 83s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 83s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 83s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 iptables amd64 1.8.11-2ubuntu3 [381 kB] 83s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libip4tc2 amd64 1.8.11-2ubuntu3 [24.2 kB] 83s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libip6tc2 amd64 1.8.11-2ubuntu3 [24.4 kB] 83s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 83s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libxtables12 amd64 1.8.11-2ubuntu3 [36.6 kB] 83s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 iproute2 amd64 6.18.0-1ubuntu1 [1178 kB] 83s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 83s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libcryptsetup12 amd64 2:2.8.0-1ubuntu3 [283 kB] 83s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 83s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 83s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 83s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 83s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 83s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 83s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 83s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 83s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 83s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 83s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 83s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libjansson4 amd64 2.14-2build4 [33.2 kB] 83s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 83s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 83s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 83s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 83s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 83s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 83s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 83s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 83s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 83s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 83s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 83s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 83s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 83s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 wget amd64 1.25.0-2ubuntu4 [353 kB] 83s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 83s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 83s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 83s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 83s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 cryptsetup-bin amd64 2:2.8.0-1ubuntu3 [228 kB] 83s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 dracut-install amd64 109-11ubuntu1 [45.8 kB] 83s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 83s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 83s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 libbrotli1 amd64 1.2.0-3 [343 kB] 83s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 83s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 83s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 83s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 83s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 83s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 83s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 83s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 83s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 83s 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] 86s 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] 86s Get:85 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 86s Get:86 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 86s Get:87 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 86s Get:88 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 86s Get:89 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 86s Get:90 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 86s Get:91 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 87s Get:92 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 87s Get:93 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 87s Get:94 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 87s Get:95 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 87s Get:96 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 87s Get:97 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 87s Get:98 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 87s Get:99 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 87s Get:100 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 87s Get:101 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 87s dpkg-preconfigure: unable to re-open stdin: No such file or directory 87s Fetched 237 MB in 5s (47.3 MB/s) 87s (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.) 87s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 87s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 88s Setting up debianutils (5.23.2build1) ... 88s (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.) 88s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 88s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 88s Setting up dash (0.5.12-12ubuntu3) ... 88s (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.) 88s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 88s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 88s Setting up findutils (4.10.0-3build2) ... 88s (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.) 88s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 88s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 88s Setting up sed (4.9-2build3) ... 88s (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.) 88s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 88s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 88s Setting up tar (1.35+dfsg-3.1build2) ... 88s (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.) 88s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 88s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 88s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 88s Selecting previously unselected package gcc-16-base:amd64. 88s (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.) 88s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_amd64.deb ... 88s Unpacking gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 88s Setting up gcc-16-base:amd64 (16-20260208-1ubuntu1) ... 88s (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.) 88s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_amd64.deb ... 88s Unpacking libgcc-s1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 88s Setting up libgcc-s1:amd64 (16-20260208-1ubuntu1) ... 88s (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.) 88s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 88s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 88s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 88s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 88s Preparing to unpack .../02-libstdc++6_16-20260208-1ubuntu1_amd64.deb ... 88s Unpacking libstdc++6:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 88s Preparing to unpack .../03-libapt-pkg7.0_3.1.15_amd64.deb ... 88s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 88s Preparing to unpack .../04-apt_3.1.15_amd64.deb ... 88s Unpacking apt (3.1.15) over (3.1.14) ... 89s Preparing to unpack .../05-dbus-system-bus-common_1.16.2-2ubuntu3_all.deb ... 89s Unpacking dbus-system-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../06-dbus-session-bus-common_1.16.2-2ubuntu3_all.deb ... 89s Unpacking dbus-session-bus-common (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../07-dbus-user-session_1.16.2-2ubuntu3_amd64.deb ... 89s Unpacking dbus-user-session (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../08-dbus-daemon_1.16.2-2ubuntu3_amd64.deb ... 89s Unpacking dbus-daemon (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../09-dbus-bin_1.16.2-2ubuntu3_amd64.deb ... 89s Unpacking dbus-bin (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../10-dbus_1.16.2-2ubuntu3_amd64.deb ... 89s Unpacking dbus (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../11-libdbus-1-3_1.16.2-2ubuntu3_amd64.deb ... 89s Unpacking libdbus-1-3:amd64 (1.16.2-2ubuntu3) over (1.16.2-2ubuntu2) ... 89s Preparing to unpack .../12-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 89s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 89s Preparing to unpack .../13-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 89s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 89s Preparing to unpack .../14-ethtool_1%3a6.15-3build1_amd64.deb ... 89s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 89s Preparing to unpack .../15-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 89s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 89s Preparing to unpack .../16-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 89s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 89s Preparing to unpack .../17-libatomic1_16-20260208-1ubuntu1_amd64.deb ... 89s Unpacking libatomic1:amd64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 89s Preparing to unpack .../18-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 89s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 89s Preparing to unpack .../19-libglib2.0-0t64_2.87.2-2_amd64.deb ... 89s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 89s Preparing to unpack .../20-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 89s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 89s Preparing to unpack .../21-iptables_1.8.11-2ubuntu3_amd64.deb ... 89s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 89s Preparing to unpack .../22-libip4tc2_1.8.11-2ubuntu3_amd64.deb ... 89s Unpacking libip4tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 89s Preparing to unpack .../23-libip6tc2_1.8.11-2ubuntu3_amd64.deb ... 89s Unpacking libip6tc2:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 89s Preparing to unpack .../24-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 89s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 89s Preparing to unpack .../25-libxtables12_1.8.11-2ubuntu3_amd64.deb ... 89s Unpacking libxtables12:amd64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 89s Preparing to unpack .../26-iproute2_6.18.0-1ubuntu1_amd64.deb ... 89s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 89s Preparing to unpack .../27-less_668-1build1_amd64.deb ... 89s Unpacking less (668-1build1) over (668-1) ... 89s Preparing to unpack .../28-libcryptsetup12_2%3a2.8.0-1ubuntu3_amd64.deb ... 89s Unpacking libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 89s Preparing to unpack .../29-libglib2.0-data_2.87.2-2_all.deb ... 89s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 90s Preparing to unpack .../30-libidn2-0_2.3.8-4build1_amd64.deb ... 90s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 90s Preparing to unpack .../31-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 90s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 90s Preparing to unpack .../32-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 90s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 90s Preparing to unpack .../33-python3-markdown-it_3.0.0-3build1_all.deb ... 90s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 90s Preparing to unpack .../34-shared-mime-info_2.4-5build3_amd64.deb ... 90s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 90s Preparing to unpack .../35-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 90s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 90s Preparing to unpack .../36-libdrm-common_2.4.131-1_all.deb ... 90s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 90s Preparing to unpack .../37-libdrm2_2.4.131-1_amd64.deb ... 90s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 90s Preparing to unpack .../38-libgdbm6t64_1.26-1build1_amd64.deb ... 90s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 90s Preparing to unpack .../39-libgpm2_1.20.7-12build1_amd64.deb ... 90s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 90s Preparing to unpack .../40-libjansson4_2.14-2build4_amd64.deb ... 90s Unpacking libjansson4:amd64 (2.14-2build4) over (2.14-2build3) ... 90s Preparing to unpack .../41-lsof_4.99.4+dfsg-2build2_amd64.deb ... 90s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 90s Preparing to unpack .../42-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 90s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 90s Preparing to unpack .../43-libmaxminddb0_1.12.2-1build2_amd64.deb ... 90s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 90s Preparing to unpack .../44-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 90s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 90s Preparing to unpack .../45-pciutils_1%3a3.14.0-1build2_amd64.deb ... 90s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 90s Preparing to unpack .../46-libpci3_1%3a3.14.0-1build2_amd64.deb ... 90s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 90s Preparing to unpack .../47-libsensors-config_1%3a3.6.2-2build1_all.deb ... 90s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 90s Preparing to unpack .../48-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 90s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 90s Preparing to unpack .../49-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 90s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 90s Preparing to unpack .../50-libxau6_1%3a1.0.11-1build2_amd64.deb ... 90s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 90s Preparing to unpack .../51-libxkbcommon0_1.13.1-1_amd64.deb ... 90s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 90s Preparing to unpack .../52-man-db_2.13.1-1build1_amd64.deb ... 90s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 90s Preparing to unpack .../53-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 91s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 91s Preparing to unpack .../54-wget_1.25.0-2ubuntu4_amd64.deb ... 91s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 91s Preparing to unpack .../55-ubuntu-standard_1.564_amd64.deb ... 91s Unpacking ubuntu-standard (1.564) over (1.563) ... 91s Preparing to unpack .../56-3cpio_0.14.0-1ubuntu1_amd64.deb ... 91s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 91s Preparing to unpack .../57-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 91s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 91s Preparing to unpack .../58-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 91s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 91s Preparing to unpack .../59-cryptsetup-bin_2%3a2.8.0-1ubuntu3_amd64.deb ... 91s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 91s Preparing to unpack .../60-dracut-install_109-11ubuntu1_amd64.deb ... 91s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 91s Preparing to unpack .../61-hwdata_0.394-1build1_all.deb ... 91s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 91s Preparing to unpack .../62-pnp.ids_0.394-1build1_all.deb ... 91s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 91s Preparing to unpack .../63-libbrotli1_1.2.0-3_amd64.deb ... 91s Unpacking libbrotli1:amd64 (1.2.0-3) over (1.1.0-2build6) ... 91s Preparing to unpack .../64-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 91s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 91s Preparing to unpack .../65-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 91s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 91s Preparing to unpack .../66-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 91s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 91s Preparing to unpack .../67-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 91s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 91s Preparing to unpack .../68-libnpth0t64_1.8-3build1_amd64.deb ... 91s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 91s Preparing to unpack .../69-libonig5_6.9.10-1build1_amd64.deb ... 91s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 91s Selecting previously unselected package libpython3.14-minimal:amd64. 91s Preparing to unpack .../70-libpython3.14-minimal_3.14.2-1_amd64.deb ... 91s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 91s Selecting previously unselected package libpython3.14-stdlib:amd64. 91s Preparing to unpack .../71-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 91s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 91s Selecting previously unselected package libpython3.14:amd64. 91s Preparing to unpack .../72-libpython3.14_3.14.2-1_amd64.deb ... 91s Unpacking libpython3.14:amd64 (3.14.2-1) ... 91s Preparing to unpack .../73-libwrap0_7.6.q-36build2_amd64.deb ... 91s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 91s Selecting previously unselected package linux-modules-6.19.0-3-generic. 91s Preparing to unpack .../74-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 91s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 92s Selecting previously unselected package linux-image-6.19.0-3-generic. 92s Preparing to unpack .../75-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 92s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 92s Preparing to unpack .../76-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 92s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 92s Preparing to unpack .../77-linux-generic_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 92s Preparing to unpack .../78-linux-image-generic_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 92s Preparing to unpack .../79-linux-virtual_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 92s Preparing to unpack .../80-linux-image-virtual_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 92s Preparing to unpack .../81-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 92s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 92s Selecting previously unselected package linux-headers-6.19.0-3. 92s Preparing to unpack .../82-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 92s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 94s Selecting previously unselected package linux-headers-6.19.0-3-generic. 94s Preparing to unpack .../83-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 94s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 94s Preparing to unpack .../84-linux-headers-generic_6.19.0-3.3_amd64.deb ... 94s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 94s Preparing to unpack .../85-linux-perf_6.19.0-3.3_amd64.deb ... 94s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 94s Preparing to unpack .../86-linux-tools-common_6.19.0-3.3_all.deb ... 94s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 94s Selecting previously unselected package linux-tools-6.19.0-3. 94s Preparing to unpack .../87-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 94s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 94s Selecting previously unselected package linux-tools-6.19.0-3-generic. 94s Preparing to unpack .../88-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 94s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 94s Preparing to unpack .../89-patch_2.8-2build1_amd64.deb ... 94s Unpacking patch (2.8-2build1) over (2.8-2) ... 94s Preparing to unpack .../90-pollinate_4.33-4ubuntu5_all.deb ... 94s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 94s Preparing to unpack .../91-python3-referencing_0.36.2-1ubuntu2_all.deb ... 94s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 94s Preparing to unpack .../92-ubuntu-kernel-accessories_1.564_amd64.deb ... 94s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 95s Setting up libip4tc2:amd64 (1.8.11-2ubuntu3) ... 95s Setting up 3cpio (0.14.0-1ubuntu1) ... 95s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 95s Setting up libnpth0t64:amd64 (1.8-3build1) ... 95s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 95s Setting up ubuntu-kernel-accessories (1.564) ... 95s Setting up libgpm2:amd64 (1.20.7-12build1) ... 95s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 95s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 96s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 96s Setting up bpftool (7.7.0+6.19.0-3.3) ... 96s Setting up libip6tc2:amd64 (1.8.11-2ubuntu3) ... 96s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 96s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 96s Setting up libbrotli1:amd64 (1.2.0-3) ... 96s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 96s Setting up libsensors-config (1:3.6.2-2build1) ... 96s Setting up less (668-1build1) ... 96s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 96s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 96s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 96s amd64-microcode: microcode will be updated at next boot 96s Setting up man-db (2.13.1-1build1) ... 96s Updating database of manual pages ... 97s man-db.service is a disabled or a static unit not running, not starting it. 98s Setting up libjansson4:amd64 (2.14-2build4) ... 98s Setting up libglib2.0-data (2.87.2-2) ... 98s Setting up pollinate (4.33-4ubuntu5) ... 108s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 108s Setting up libwrap0:amd64 (7.6.q-36build2) ... 108s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 109s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 109s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 109s Setting up libdbus-1-3:amd64 (1.16.2-2ubuntu3) ... 109s Setting up libatomic1:amd64 (16-20260208-1ubuntu1) ... 109s Setting up patch (2.8-2build1) ... 109s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 109s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 109s Setting up libxtables12:amd64 (1.8.11-2ubuntu3) ... 109s Setting up lsof (4.99.4+dfsg-2build2) ... 109s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 109s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 109s Setting up dracut-install (109-11ubuntu1) ... 109s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 109s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 109s Setting up pnp.ids (0.394-1build1) ... 109s Setting up dbus-session-bus-common (1.16.2-2ubuntu3) ... 109s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 109s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 109s Setting up libcryptsetup12:amd64 (2:2.8.0-1ubuntu3) ... 109s Setting up mawk (1.3.4.20260129-1) ... 109s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 109s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 109s Setting up linux-image-virtual (6.19.0-3.3) ... 109s Setting up dbus-system-bus-common (1.16.2-2ubuntu3) ... 109s Setting up libbsd0:amd64 (0.12.2-2build2) ... 109s Setting up libdrm-common (2.4.131-1) ... 109s Setting up libstdc++6:amd64 (16-20260208-1ubuntu1) ... 109s Setting up dbus-bin (1.16.2-2ubuntu3) ... 109s Setting up libonig5:amd64 (6.9.10-1build1) ... 109s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 109s Setting up ethtool (1:6.15-3build1) ... 109s Setting up python3-referencing (0.36.2-1ubuntu2) ... 109s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 109s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 109s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 109s Setting up tcpdump (4.99.5-2ubuntu3) ... 110s Setting up linux-image-generic (6.19.0-3.3) ... 110s Setting up wget (1.25.0-2ubuntu4) ... 110s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 110s Setting up iptables (1.8.11-2ubuntu3) ... 110s Setting up iproute2 (6.18.0-1ubuntu1) ... 110s Setting up linux-headers-generic (6.19.0-3.3) ... 110s Setting up dbus-daemon (1.16.2-2ubuntu3) ... 110s Setting up hwdata (0.394-1build1) ... 110s Setting up dbus-user-session (1.16.2-2ubuntu3) ... 110s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 110s No schema files found: doing nothing. 110s Setting up dbus (1.16.2-2ubuntu3) ... 110s A reboot is required to replace the running dbus-daemon. 110s Please reboot the system when convenient. 110s Setting up shared-mime-info (2.4-5build3) ... 111s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 111s Setting up pciutils (1:3.14.0-1build2) ... 111s Setting up python3-markdown-it (3.0.0-3build1) ... 111s Setting up libdrm2:amd64 (2.4.131-1) ... 111s Setting up libpython3.14:amd64 (3.14.2-1) ... 111s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 111s Setting up linux-tools-common (6.19.0-3.3) ... 111s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 111s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 111s Setting up apt (3.1.15) ... 111s Setting up linux-headers-virtual (6.19.0-3.3) ... 111s Setting up linux-generic (6.19.0-3.3) ... 111s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 111s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 111s Setting up ubuntu-standard (1.564) ... 111s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 111s Setting up linux-virtual (6.19.0-3.3) ... 111s Setting up linux-perf (6.19.0-3.3) ... 111s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 111s Processing triggers for debianutils (5.23.2build1) ... 111s Processing triggers for install-info (7.2-5) ... 111s Processing triggers for initramfs-tools (0.150ubuntu7) ... 111s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 116s Processing triggers for libc-bin (2.42-2ubuntu4) ... 116s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 116s /etc/kernel/postinst.d/initramfs-tools: 116s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 120s /etc/kernel/postinst.d/zz-update-grub: 120s Sourcing file `/etc/default/grub' 120s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 120s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 120s Generating grub configuration file ... 120s Found linux image: /boot/vmlinuz-6.19.0-3-generic 120s Found initrd image: /boot/initrd.img-6.19.0-3-generic 120s Found linux image: /boot/vmlinuz-6.18.0-9-generic 120s Found initrd image: /boot/initrd.img-6.18.0-9-generic 120s Warning: os-prober will not be executed to detect other bootable partitions. 120s Systems on them will not be added to the GRUB boot configuration. 120s Check GRUB_DISABLE_OS_PROBER documentation entry. 120s Adding boot menu entry for UEFI Firmware Settings ... 120s done 120s autopkgtest [05:53:08]: upgrading testbed (apt dist-upgrade and autopurge) 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Calculating upgrade... 121s The following package was automatically installed and is no longer required: 121s libpython3.13 121s Use 'sudo apt autoremove' to remove it. 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Solving dependencies... 122s The following packages will be REMOVED: 122s libpython3.13* 122s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 122s After this operation, 7599 kB disk space will be freed. 122s (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.) 122s Removing libpython3.13:amd64 (3.13.11-1) ... 122s Processing triggers for libc-bin (2.42-2ubuntu4) ... 122s autopkgtest [05:53:10]: rebooting testbed after setup commands that affected boot 151s autopkgtest [05:53:39]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:01:24 UTC 2026 153s autopkgtest [05:53:41]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-hamster 154s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (dsc) [1465 B] 154s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (tar) [129 kB] 154s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-hamster 3.0.0-4 (diff) [4880 B] 154s gpgv: Signature made Wed Jan 26 11:16:04 2022 UTC 154s gpgv: using EDDSA key 84CFFDC21520F88306EC29D152699AB63F9F2BC3 154s gpgv: Can't check signature: No public key 154s dpkg-source: warning: cannot verify inline signature for ./ruby-hamster_3.0.0-4.dsc: no acceptable signature found 154s autopkgtest [05:53:42]: testing package ruby-hamster version 3.0.0-4 155s autopkgtest [05:53:43]: build not needed 155s autopkgtest [05:53:43]: test gem2deb-test-runner: preparing testbed 155s Reading package lists... 155s Building dependency tree... 155s Reading state information... 155s Solving dependencies... 156s The following NEW packages will be installed: 156s gem2deb-test-runner libruby libruby3.3 pry rake ruby ruby-coderay 156s ruby-concurrent ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-hamster 156s ruby-method-source ruby-minitest ruby-net-telnet ruby-power-assert 156s ruby-rbtree ruby-rspec ruby-rspec-core ruby-rspec-expectations 156s ruby-rspec-mocks ruby-rspec-support ruby-ruby2-keywords ruby-rubygems 156s ruby-sorted-set ruby-test-unit ruby-webrick ruby-xmlrpc ruby3.3 156s rubygems-integration 156s 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. 156s Need to get 7700 kB of archives. 156s After this operation, 38.5 MB of additional disk space will be used. 156s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 rubygems-integration all 1.19build1 [5666 B] 156s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-csv all 3.3.4-1 [43.0 kB] 156s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 156s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 156s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 156s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-webrick all 1.9.1-1build1 [60.9 kB] 156s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 156s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby3.3 amd64 3.3.8-2ubuntu2 [5986 kB] 156s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby3.3 amd64 3.3.8-2ubuntu2 [59.0 kB] 156s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby amd64 1:3.3 [5164 B] 156s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 156s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby amd64 1:3.3 [3666 B] 156s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 rake all 13.2.1-1build1 [45.9 kB] 156s Get:14 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-minitest all 5.26.1-1 [49.3 kB] 156s Get:15 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-power-assert all 3.0.1-1 [11.4 kB] 156s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 156s Get:17 http://ftpmaster.internal/ubuntu resolute/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 156s Get:18 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-coderay all 1.1.3-8build1 [78.4 kB] 156s Get:19 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-method-source all 1.1.0-1 [8502 B] 156s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 pry all 0.15.2-1 [122 kB] 156s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 ruby-concurrent all 1.3.6-1 [284 kB] 156s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 156s Get:23 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-hamster all 3.0.0-4 [43.0 kB] 156s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rbtree amd64 0.4.6-1build3 [23.5 kB] 156s Get:25 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 156s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 156s Get:27 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 156s Get:28 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 156s Get:29 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 156s Get:30 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-sorted-set all 1.0.3-3 [4258 B] 156s Fetched 7700 kB in 1s (13.8 MB/s) 156s Selecting previously unselected package rubygems-integration. 157s (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.) 157s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 157s Unpacking rubygems-integration (1.19build1) ... 157s Selecting previously unselected package ruby-csv. 157s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 157s Unpacking ruby-csv (3.3.4-1) ... 157s Selecting previously unselected package ruby-did-you-mean. 157s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 157s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 157s Selecting previously unselected package ruby-net-telnet. 157s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 157s Unpacking ruby-net-telnet (0.2.0-1build1) ... 157s Selecting previously unselected package ruby-ruby2-keywords. 157s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 157s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 157s Selecting previously unselected package ruby-webrick. 157s Preparing to unpack .../05-ruby-webrick_1.9.1-1build1_all.deb ... 157s Unpacking ruby-webrick (1.9.1-1build1) ... 157s Selecting previously unselected package ruby-xmlrpc. 157s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 157s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 157s Selecting previously unselected package libruby3.3:amd64. 157s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu2_amd64.deb ... 157s Unpacking libruby3.3:amd64 (3.3.8-2ubuntu2) ... 157s Selecting previously unselected package ruby3.3. 157s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu2_amd64.deb ... 157s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 157s Selecting previously unselected package libruby:amd64. 157s Preparing to unpack .../09-libruby_1%3a3.3_amd64.deb ... 157s Unpacking libruby:amd64 (1:3.3) ... 157s Selecting previously unselected package ruby-rubygems. 157s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 157s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 157s Selecting previously unselected package ruby. 157s Preparing to unpack .../11-ruby_1%3a3.3_amd64.deb ... 157s Unpacking ruby (1:3.3) ... 157s Selecting previously unselected package rake. 157s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 157s Unpacking rake (13.2.1-1build1) ... 157s Selecting previously unselected package ruby-minitest. 157s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 157s Unpacking ruby-minitest (5.26.1-1) ... 157s Selecting previously unselected package ruby-power-assert. 157s Preparing to unpack .../14-ruby-power-assert_3.0.1-1_all.deb ... 157s Unpacking ruby-power-assert (3.0.1-1) ... 157s Selecting previously unselected package ruby-test-unit. 157s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 157s Unpacking ruby-test-unit (3.6.2-1) ... 157s Selecting previously unselected package gem2deb-test-runner. 157s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_amd64.deb ... 157s Unpacking gem2deb-test-runner (2.2.5) ... 157s Selecting previously unselected package ruby-coderay. 157s Preparing to unpack .../17-ruby-coderay_1.1.3-8build1_all.deb ... 157s Unpacking ruby-coderay (1.1.3-8build1) ... 157s Selecting previously unselected package ruby-method-source. 157s Preparing to unpack .../18-ruby-method-source_1.1.0-1_all.deb ... 157s Unpacking ruby-method-source (1.1.0-1) ... 157s Selecting previously unselected package pry. 157s Preparing to unpack .../19-pry_0.15.2-1_all.deb ... 157s Unpacking pry (0.15.2-1) ... 157s Selecting previously unselected package ruby-concurrent. 157s Preparing to unpack .../20-ruby-concurrent_1.3.6-1_all.deb ... 157s Unpacking ruby-concurrent (1.3.6-1) ... 157s Selecting previously unselected package ruby-diff-lcs. 157s Preparing to unpack .../21-ruby-diff-lcs_1.5.1-1_all.deb ... 157s Unpacking ruby-diff-lcs (1.5.1-1) ... 157s Selecting previously unselected package ruby-hamster. 157s Preparing to unpack .../22-ruby-hamster_3.0.0-4_all.deb ... 157s Unpacking ruby-hamster (3.0.0-4) ... 157s Selecting previously unselected package ruby-rbtree. 157s Preparing to unpack .../23-ruby-rbtree_0.4.6-1build3_amd64.deb ... 157s Unpacking ruby-rbtree (0.4.6-1build3) ... 157s Selecting previously unselected package ruby-rspec-support. 157s Preparing to unpack .../24-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 157s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 157s Selecting previously unselected package ruby-rspec-core. 157s Preparing to unpack .../25-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 157s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 157s Selecting previously unselected package ruby-rspec-expectations. 157s Preparing to unpack .../26-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 157s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 157s Selecting previously unselected package ruby-rspec-mocks. 157s Preparing to unpack .../27-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 157s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 157s Selecting previously unselected package ruby-rspec. 157s Preparing to unpack .../28-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 157s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 157s Selecting previously unselected package ruby-sorted-set. 158s Preparing to unpack .../29-ruby-sorted-set_1.0.3-3_all.deb ... 158s Unpacking ruby-sorted-set (1.0.3-3) ... 158s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 158s Setting up ruby-power-assert (3.0.1-1) ... 158s Setting up rubygems-integration (1.19build1) ... 158s Setting up ruby-concurrent (1.3.6-1) ... 158s Setting up ruby-minitest (5.26.1-1) ... 158s Setting up ruby-method-source (1.1.0-1) ... 158s Setting up ruby-hamster (3.0.0-4) ... 158s Setting up ruby-test-unit (3.6.2-1) ... 158s Setting up ruby-net-telnet (0.2.0-1build1) ... 158s Setting up ruby-csv (3.3.4-1) ... 158s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 158s Setting up ruby-webrick (1.9.1-1build1) ... 158s Setting up ruby-did-you-mean (1.6.3-2build1) ... 158s Setting up ruby-xmlrpc (0.3.3-2build1) ... 158s Setting up rake (13.2.1-1build1) ... 158s Setting up libruby3.3:amd64 (3.3.8-2ubuntu2) ... 158s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 158s Setting up libruby:amd64 (1:3.3) ... 158s Setting up ruby (1:3.3) ... 158s Setting up ruby-rbtree (0.4.6-1build3) ... 158s Setting up ruby-coderay (1.1.3-8build1) ... 158s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 158s Setting up pry (0.15.2-1) ... 158s Setting up ruby-diff-lcs (1.5.1-1) ... 158s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 158s Setting up ruby-sorted-set (1.0.3-3) ... 158s Setting up gem2deb-test-runner (2.2.5) ... 158s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 158s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 158s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 158s Processing triggers for libc-bin (2.42-2ubuntu4) ... 158s Processing triggers for man-db (2.13.1-1build1) ... 159s autopkgtest [05:53:47]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 159s autopkgtest [05:53:47]: test gem2deb-test-runner: [----------------------- 159s 159s ┌──────────────────────────────────────────────────────────────────────────────┐ 159s │ Checking Rubygems dependency resolution on ruby3.3 │ 159s └──────────────────────────────────────────────────────────────────────────────┘ 159s 159s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"hamster\" 159s mv lib ./.gem2deb.lib 159s mv ./.gem2deb.lib lib 159s 159s ┌──────────────────────────────────────────────────────────────────────────────┐ 159s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 159s └──────────────────────────────────────────────────────────────────────────────┘ 159s 159s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 159s mv lib ./.gem2deb.lib 159s /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 160s 160s Hamster::Associable 160s #update_in 160s with one level on existing key 160s Hash passes the value to the block 160s Vector passes the value to the block 160s Hash replaces the value with the result of the block 160s Vector replaces the value with the result of the block 160s Hash should preserve the original 160s Vector should preserve the original 160s with multi-level on existing keys 160s Hash passes the value to the block 160s Vector passes the value to the block 160s Hash replaces the value with the result of the block 160s Vector replaces the value with the result of the block 160s Hash should preserve the original 160s Vector should preserve the original 160s with multi-level creating sub-hashes when keys don't exist 160s Hash passes nil to the block 160s Vector passes nil to the block 160s Hash creates subhashes on the way to set the value 160s Vector creates subhashes on the way to set the value 160s Hash with multi-level including Vector with existing keys 160s passes the value to the block 160s replaces the value with the result of the block 160s should preserve the original 160s Vector with multi-level including Hash with existing keys 160s passes the value to the block 160s replaces the value with the result of the block 160s should preserve the original 160s with empty key_path 160s Hash raises ArguemntError 160s Vector raises ArguemntError 160s 160s Array 160s #to_list 160s returns an equivalent hamster list 160s 160s Enumerable 160s #to_list 160s returns an equivalent list 160s works on Ranges 160s 160s IO 160s #to_list 160s with a File 160s returns an equivalent list 160s with a StringIO 160s returns an equivalent list 160s 160s Hamster::Deque 160s #clear 160s on [] 160s preserves the original 160s returns an empty deque 160s on ["A"] 160s preserves the original 160s returns an empty deque 160s on ["A", "B", "C"] 160s preserves the original 160s returns an empty deque 160s from a subclass 160s returns an instance of the subclass 160s 160s Hamster::Deque 160s .[] 160s with no arguments 160s always returns the same instance 160s returns an empty, frozen deque 160s with a number of items 160s always returns a different instance 160s is the same as repeatedly using #endeque 160s 160s Hamster::Deque 160s on [] 160s returns self 160s on ["A"] 160s returns self 160s on ["A", "B", "C"] 160s returns self 160s on [] 160s returns self 160s on ["A"] 160s returns self 160s on ["A", "B", "C"] 160s returns self 160s 160s Hamster::Deque 160s #dequeue 160s on [] 160s preserves the original 160s returns [] 160s on ["A"] 160s preserves the original 160s returns [] 160s on ["A", "B", "C"] 160s preserves the original 160s returns ["B", "C"] 160s on empty subclass 160s returns emtpy object of same class 160s #shift 160s on [] 160s preserves the original 160s returns [] 160s on ["A"] 160s preserves the original 160s returns [] 160s on ["A", "B", "C"] 160s preserves the original 160s returns ["B", "C"] 160s on empty subclass 160s returns emtpy object of same class 160s 160s Hamster::Deque 160s #empty? 160s on [] 160s returns true 160s on ["A"] 160s returns false 160s on ["A", "B", "C"] 160s returns false 160s after dedequeing an item from ["A", "B", "C"] 160s returns false 160s .empty 160s returns the canonical empty deque 160s from a subclass 160s returns an empty instance of the subclass 160s 160s Hamster::Deque 160s #enqueue 160s on [] with "A" 160s preserves the original 160s returns ["A"] 160s on ["A"] with "B" 160s preserves the original 160s returns ["A", "B"] 160s on ["A"] with "A" 160s preserves the original 160s returns ["A", "A"] 160s on ["A", "B", "C"] with "D" 160s preserves the original 160s returns ["A", "B", "C", "D"] 160s #push 160s on [] with "A" 160s preserves the original 160s returns ["A"] 160s on ["A"] with "B" 160s preserves the original 160s returns ["A", "B"] 160s on ["A"] with "A" 160s preserves the original 160s returns ["A", "A"] 160s on ["A", "B", "C"] with "D" 160s preserves the original 160s returns ["A", "B", "C", "D"] 160s 160s Hamster::Deque 160s #first 160s on [] 160s returns nil 160s on ["A"] 160s returns "A" 160s on ["A", "B", "C"] 160s returns "A" 160s 160s Hamster::Deque 160s #inspect 160s on [] 160s returns "Hamster::Deque[]" 160s returns a string which can be eval'd to get an equivalent object 160s on ["A"] 160s returns "Hamster::Deque[\"A\"]" 160s returns a string which can be eval'd to get an equivalent object 160s on ["A", "B", "C"] 160s returns "Hamster::Deque[\"A\", \"B\", \"C\"]" 160s returns a string which can be eval'd to get an equivalent object 160s 160s Hamster::Deque 160s #last 160s on [] 160s returns nil 160s on ["A"] 160s returns "A" 160s on ["A", "B", "C"] 160s returns "C" 160s 160s Hamster::Deque 160s #marshal_dump/#marshal_load 160s can survive dumping and loading into a new process 160s is still possible to push and pop items after loading 160s 160s Hamster::Deque 160s .new 160s accepts a single enumerable argument and creates a new deque 160s is amenable to overriding of #initialize 160s from a subclass 160s returns a frozen instance of the subclass 160s .[] 160s accepts a variable number of items and creates a new deque 160s 160s Hamster::Deque 160s #pop 160s on [] 160s preserves the original 160s returns [] 160s returns a frozen instance 160s on ["A"] 160s preserves the original 160s returns [] 160s returns a frozen instance 160s on ["A", "B", "C"] 160s preserves the original 160s returns ["A", "B"] 160s returns a frozen instance 160s on empty subclass 160s returns emtpy object of same class 160s 160s Hamster::Deque 160s #pretty_print 160s prints the whole Deque on one line if it fits 160s prints each item on its own line, if not 160s 160s Hamster::Deque 160s #push 160s pushing "A" into [] 160s preserves the original 160s returns ["A"] 160s returns a frozen instance 160s pushing "B" into ["A"] 160s preserves the original 160s returns ["A", "B"] 160s returns a frozen instance 160s pushing "D" into ["A", "B", "C"] 160s preserves the original 160s returns ["A", "B", "C", "D"] 160s returns a frozen instance 160s on a subclass 160s returns an object of same class 160s 160s Hamster::Deque 160s modification (using #push, #pop, #shift, and #unshift) 160s works when applied in many random combinations 160s 160s Hamster::Deque 160s #shift 160s on [] 160s preserves the original 160s returns [] 160s returns a frozen instance 160s on ["A"] 160s preserves the original 160s returns [] 160s returns a frozen instance 160s on ["A", "B", "C"] 160s preserves the original 160s returns ["B", "C"] 160s returns a frozen instance 160s 160s Hamster::Deque 160s #size 160s on [] 160s returns 0 160s on ["A"] 160s returns 1 160s on ["A", "B", "C"] 160s returns 3 160s #length 160s on [] 160s returns 0 160s on ["A"] 160s returns 1 160s on ["A", "B", "C"] 160s returns 3 160s 160s Hamster::Deque 160s #to_a 160s on [] 160s returns [] 160s returns a mutable array 160s on ["A"] 160s returns ["A"] 160s returns a mutable array 160s on ["A", "B", "C"] 160s returns ["A", "B", "C"] 160s returns a mutable array 160s #entries 160s on [] 160s returns [] 160s returns a mutable array 160s on ["A"] 160s returns ["A"] 160s returns a mutable array 160s on ["A", "B", "C"] 160s returns ["A", "B", "C"] 160s returns a mutable array 160s 160s Hamster::Deque 160s #to_ary 160s enables implicit conversion to 160s block parameters 160s method arguments 160s works with splat 160s 160s Hamster::Deque 160s #to_list 160s on [] 160s returns a list containing [] 160s on ["A"] 160s returns a list containing ["A"] 160s on ["A", "B", "C"] 160s returns a list containing ["A", "B", "C"] 160s after dedequeing an item from ["A", "B", "C"] 160s returns a list containing ["B", "C"] 160s 160s Hamster::Deque 160s #unshift 160s on [] with "A" 160s preserves the original 160s returns ["A"] 160s returns a frozen instance 160s on ["A"] with "B" 160s preserves the original 160s returns ["B", "A"] 160s returns a frozen instance 160s on ["A"] with "A" 160s preserves the original 160s returns ["A", "A"] 160s returns a frozen instance 160s on ["A", "B", "C"] with "D" 160s preserves the original 160s returns ["D", "A", "B", "C"] 160s returns a frozen instance 160s 160s Hamster::MutableSet 160s #add? 160s with a unique value 160s returns true 160s modifies the set to include the new value 160s with a duplicate value 160s returns false 160s preserves the original values 160s 160s Hamster::MutableSet 160s #add 160s with a unique value 160s returns self 160s modifies the original set to include new value 160s with a duplicate value 160s returns self 160s preserves the original values 160s 160s Hamster::MutableSet 160s #delete? 160s with an existing value 160s returns true 160s modifies the set to remove the value 160s with a non-existing value 160s returns false 160s preserves the original values 160s 160s Hamster::MutableSet 160s #delete 160s with an existing value 160s returns self 160s modifies the set to remove the value 160s with a non-existing value 160s returns self 160s preserves the original values 160s 160s Hamster::Hash 160s #all? 160s when empty 160s without a block 160s returns true 160s with a block 160s returns true 160s when not empty 160s without a block 160s returns true 160s with a block 160s returns true if the block always returns true 160s returns false if the block ever returns false 160s propagates an exception from the block 160s stops iterating as soon as the block returns false 160s 160s Hamster::Hash 160s #any? 160s when empty 160s with a block returns false 160s with no block returns false 160s when not empty 160s with a block 160s returns true if the block ever returns true (["A", "aye"]) 160s returns false if the block always returns false 160s returns true if the block ever returns true (["B", "bee"]) 160s returns false if the block always returns false 160s returns true if the block ever returns true (["C", "see"]) 160s returns false if the block always returns false 160s returns true if the block ever returns true ([nil, "NIL"]) 160s returns false if the block always returns false 160s propagates exceptions raised in the block 160s stops iterating as soon as the block returns true 160s with no block 160s returns true 160s 160s Hamster::Hash 160s #assoc 160s searches for a key/val pair with a given key 160s returns nil if a matching key is not found 160s returns nil even if there is a default 160s uses #== to compare keys with provided object 160s #rassoc 160s searches for a key/val pair with a given value 160s returns nil if a matching value is not found 160s returns nil even if there is a default 160s uses #== to compare values with provided object 160s 160s Hamster::Hash 160s #clear 160s maintains the default Proc, if there is one 160s on [] 160s preserves the original 160s returns an empty hash 160s on [{"A"=>"aye"}] 160s preserves the original 160s returns an empty hash 160s on [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 160s preserves the original 160s returns an empty hash 160s on a subclass 160s returns an empty instance of the subclass 160s 160s Hamster::Hash 160s .hash 160s with nothing 160s returns the canonical empty hash 160s with an implicit hash 160s is equivalent to repeatedly using #put 160s with an array of pairs 160s initializes a new Hash 160s with a Hamster::Hash 160s initializes an equivalent Hash 160s 160s Hamster::Hash 160s #dup 160s returns self 160s #clone 160s returns self 160s 160s Hamster::Hash 160s #default_proc 160s returns the default block given when the Hash was created 160s returns nil if no default block was given 160s after a key/val pair are inserted 160s doesn't change 160s after all key/val pairs are filtered out 160s doesn't change 160s after Hash is inverted 160s doesn't change 160s when a slice is taken 160s doesn't change 160s when keys are removed with #except 160s doesn't change 160s when Hash is mapped 160s doesn't change 160s when another Hash is merged in 160s doesn't change 160s 160s Hamster::Hash 160s #delete 160s with an existing key 160s preserves the original 160s returns a copy with the remaining key/value pairs 160s with a non-existing key 160s preserves the original values 160s returns self 160s when removing the last key 160s from a Hash with no default block 160s returns the canonical empty Hash 160s 160s Hamster::Hash 160s #dig 160s returns the value with one argument to dig 160s returns the value in nested hashes 160s returns nil if the key is not present 160s returns nil if you dig out the end of the hash 160s returns nil if a value does not support dig 160s returns the correct value when there is a default proc 160s 160s Hamster::Hash 160s #each 160s with a block (internal iteration) 160s returns self 160s yields all key/value pairs 160s yields key/value pairs in the same order as #each_key and #each_value 160s yields both of a pair of colliding keys 160s yields only the key to a block expecting |key,| 160s with no block 160s returns an Enumerator 160s #each_pair 160s with a block (internal iteration) 160s returns self 160s yields all key/value pairs 160s yields key/value pairs in the same order as #each_key and #each_value 160s yields both of a pair of colliding keys 160s yields only the key to a block expecting |key,| 160s with no block 160s returns an Enumerator 160s #each_key 160s yields all keys 160s with no block 160s returns an Enumerator 160s #each_value 160s yields all values 160s with no block 160s returns an Enumerator 160s 160s Hamster::Hash 160s #each_with_index 160s with a block (internal iteration) 160s returns self 160s yields all key/value pairs with numeric indexes 160s with no block 160s returns an Enumerator 160s 160s Hamster::Hash 160s #empty? 160s returns true for [] 160s returns false for [{"A"=>"aye"}] 160s returns false for [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 160s returns true for empty hashes which have a default block 160s .empty 160s returns the canonical empty Hash 160s from a subclass 160s returns an empty instance of the subclass 160s calls overridden #initialize when creating empty Hash 160s 160s Hamster::Hash 160s returns true on a large hash which is modified and then modified back again 160s #eql? 160s returns false when comparing with a standard hash 160s returns false when comparing with an arbitrary object 160s returns false when comparing with a subclass of Hamster::Hash 160s #== 160s returns true when comparing with a standard hash 160s returns false when comparing with an arbitrary object 160s returns true when comparing with a subclass of Hamster::Hash 160s #eql? 160s returns true 160s for {} and {} 160s for {} and {} 160s returns false 160s for {"A"=>"aye"} and {} 160s for {} and {"A"=>"aye"} 160s returns false 160s for {} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {} 160s returns true 160s for {"A"=>"aye"} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {"A"=>"aye"} 160s returns false 160s for {"A"=>"aye"} and {"B"=>"bee"} 160s for {"B"=>"bee"} and {"A"=>"aye"} 160s returns false 160s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 160s returns false 160s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 160s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 160s returns true 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s returns true 160s for {"C"=>"see", "A"=>"aye", "B"=>"bee"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"C"=>"see", "A"=>"aye", "B"=>"bee"} 160s #== 160s returns true 160s for {} and {} 160s for {} and {} 160s returns false 160s for {"A"=>"aye"} and {} 160s for {} and {"A"=>"aye"} 160s returns false 160s for {} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {} 160s returns true 160s for {"A"=>"aye"} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {"A"=>"aye"} 160s returns false 160s for {"A"=>"aye"} and {"B"=>"bee"} 160s for {"B"=>"bee"} and {"A"=>"aye"} 160s returns false 160s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 160s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 160s returns false 160s for {"A"=>"aye"} and {"A"=>"aye", "B"=>"bee"} 160s for {"A"=>"aye", "B"=>"bee"} and {"A"=>"aye"} 160s returns true 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s returns true 160s for {"C"=>"see", "A"=>"aye", "B"=>"bee"} and {"A"=>"aye", "B"=>"bee", "C"=>"see"} 160s for {"A"=>"aye", "B"=>"bee", "C"=>"see"} and {"C"=>"see", "A"=>"aye", "B"=>"bee"} 160s 160s Hamster::Hash 160s #except 161s works on a large Hash, with many combinations of input 161s with only keys that the Hash has 161s returns a Hash without those values 161s doesn't change the original Hash 161s with keys that the Hash doesn't have 161s returns a Hash without the values that it had keys for 161s doesn't change the original Hash 161s 161s Hamster::Hash 161s #fetch 161s gives precedence to default block over default argument if passed both 161s raises an ArgumentError when not passed one or 2 arguments 161s with no default provided 161s when the key exists 161s returns the value associated with the key 161s when the key does not exist 161s raises a KeyError 161s with a default value 161s when the key exists 161s returns the value associated with the key 161s when the key does not exist 161s returns the default value 161s with a default block 161s when the key exists 161s returns the value associated with the key 161s when the key does not exist 161s invokes the default block with the missing key as paramter 161s 161s Hamster::Hash 161s #fetch_values 161s when the all the requests keys exist 161s returns a vector of values for the given keys 161s when the key does not exist 161s raises a KeyError 161s 161s Hamster::Hash 161s #find 161s stops iterating when the block returns true 161s on [] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns ["A", "aye"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns ["A", "aye"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns ["B", "bee"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns [nil, "NIL"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s #detect 161s stops iterating when the block returns true 161s on [] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns ["A", "aye"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns ["A", "aye"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns ["B", "bee"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns [nil, "NIL"] 161s without a block 161s returns an Enumerator 161s on [{"A"=>"aye", "B"=>"bee", nil=>"NIL"}] 161s with a block 161s returns nil 161s without a block 161s returns an Enumerator 161s 161s Hamster::Hash 161s #flat_map 161s yields each key/val pair 161s returns the concatenation of block return values 161s doesn't change the receiver 161s returns an empty array if only empty arrays are returned by block 161s with no block 161s returns an Enumerator 161s 161s Hamster::Hash 161s #flatten 161s with flatten depth of zero 161s returns a vector of keys/value 161s without array keys or values 161s returns a vector of keys and values 161s doesn't modify the receiver 161s on an empty Hash 161s returns an empty Vector 161s with array keys 161s flattens array keys into returned vector if flatten depth is sufficient 161s doesn't modify the receiver (or its contents) 161s with array values 161s flattens array values into returned vector if flatten depth is sufficient 161s doesn't modify the receiver (or its contents) 161s with vector keys 161s flattens vector keys into returned vector if flatten depth is sufficient 161s with vector values 161s flattens vector values into returned vector if flatten depth is sufficient 161s 161s Hamster::Hash 161s #get 161s uses #hash to look up keys 161s uses #eql? to compare keys with the same hash code 161s does not use #eql? to compare keys with different hash codes 161s with a default block 161s when the key exists 161s returns the value associated with the key 161s does not call the default block even if the key is 'nil' 161s when the key does not exist 161s returns the value from the default block 161s with no default block 161s returns the value ("aye") for an existing key ("A") 161s returns the value ("bee") for an existing key ("B") 161s returns the value ("see") for an existing key ("C") 161s returns the value ("NIL") for an existing key (nil) 161s returns nil for a non-existing key 161s #[] 161s uses #hash to look up keys 161s uses #eql? to compare keys with the same hash code 161s does not use #eql? to compare keys with different hash codes 161s with a default block 161s when the key exists 161s returns the value associated with the key 161s does not call the default block even if the key is 'nil' 161s when the key does not exist 161s returns the value from the default block 161s with no default block 161s returns the value ("aye") for an existing key ("A") 161s returns the value ("bee") for an existing key ("B") 161s returns the value ("see") for an existing key ("C") 161s returns the value ("NIL") for an existing key (nil) 161s returns nil for a non-existing key 161s 161s Hamster::Hash 161s #key? 161s returns true for an existing key ("A") 161s returns true for an existing key ("B") 161s returns true for an existing key ("C") 161s returns true for an existing key (nil) 161s returns true for an existing key (2.0) 161s returns false for a non-existing key 161s uses #eql? for equality 161s returns true if the key is found and maps to nil 161s returns true if the key is found and maps to false 161s #has_key? 161s returns true for an existing key ("A") 161s returns true for an existing key ("B") 161s returns true for an existing key ("C") 161s returns true for an existing key (nil) 161s returns true for an existing key (2.0) 161s returns false for a non-existing key 161s uses #eql? for equality 161s returns true if the key is found and maps to nil 161s returns true if the key is found and maps to false 161s #include? 161s returns true for an existing key ("A") 161s returns true for an existing key ("B") 161s returns true for an existing key ("C") 161s returns true for an existing key (nil) 161s returns true for an existing key (2.0) 161s returns false for a non-existing key 161s uses #eql? for equality 161s returns true if the key is found and maps to nil 161s returns true if the key is found and maps to false 161s #member? 161s returns true for an existing key ("A") 161s returns true for an existing key ("B") 161s returns true for an existing key ("C") 161s returns true for an existing key (nil) 161s returns true for an existing key (2.0) 161s returns false for a non-existing key 161s uses #eql? for equality 161s returns true if the key is found and maps to nil 161s returns true if the key is found and maps to false 161s 161s Hamster::Hash 161s #value? 161s returns true if any key/val pair in Hash has the same value 161s returns false if no key/val pair in Hash has the same value 161s uses #== to check equality 161s works on a large hash 161s #has_value? 161s returns true if any key/val pair in Hash has the same value 161s returns false if no key/val pair in Hash has the same value 161s uses #== to check equality 161s works on a large hash 161s 161s Hamster::Hash 161s #hash 161s values are sufficiently distributed 161s differs given the same keys and different values 161s differs given the same values and different keys 161s generates the same hash value for a hash regardless of the order things were added to it 161s on an empty hash 161s returns 0 161s 161s Hamster::Hash 161s includes Immutable 161s 161s Hamster::Hash 161s #inspect 161s on [] 161s returns "Hamster::Hash[]" 161s on [{"A"=>"aye"}] 161s returns "Hamster::Hash[\"A\" => \"aye\"]" 161s on [{"A"=>"aye", "B"=>"bee", "C"=>"see"}] 161s returns "Hamster::Hash[\"A\" => \"aye\", \"B\" => \"bee\", \"C\" => \"see\"]" 161s on {} 161s returns a string which can be eval'd to get an equivalent object 161s on {"A"=>"aye"} 161s returns a string which can be eval'd to get an equivalent object 161s on {:a=>"aye", :b=>"bee", :c=>"see"} 161s returns a string which can be eval'd to get an equivalent object 161s 161s Hamster::Hash 161s #invert 161s uses the existing keys as values and values as keys 161s will select one key/value pair among multiple which have same value 161s doesn't change the original Hash 161s from a subclass of Hash 161s returns an instance of the subclass 161s 161s Hamster::Hash 161s #key 161s returns a key associated with the given value, if there is one 161s returns nil if there is no key associated with the given value 161s uses #== to compare values for equality 161s doesn't use default block if value is not found 161s 161s Hamster::Hash 161s #keys 161s returns the keys as a set 161s returns frozen String keys 161s 161s Hamster::Hash 161s #map 161s when empty 161s returns self 161s when not empty 161s with a block 161s preserves the original values 161s returns a new hash with the mapped values 161s with no block 161s returns an Enumerator 161s from a subclass 161s returns an instance of the subclass 161s #collect 161s when empty 161s returns self 161s when not empty 161s with a block 161s preserves the original values 161s returns a new hash with the mapped values 161s with no block 161s returns an Enumerator 161s from a subclass 161s returns an instance of the subclass 161s 161s Hamster::Hash 161s #marshal_dump/#marshal_load 161s can survive dumping and loading into a new process 161s is still possible to find items by key after loading 161s 161s Hamster::Hash 161s #merge 161s sets any duplicate key to the value of block if passed a block 161s yields key/value pairs in the same order as #each 161s for {} and {} 161s returns {} when passed a Hamster::Hash 161s returns {} when passed a Ruby Hash 161s doesn't change the original Hashes 161s for {"A"=>"aye"} and {} 161s returns {"A"=>"aye"} when passed a Hamster::Hash 161s returns {"A"=>"aye"} when passed a Ruby Hash 161s doesn't change the original Hashes 161s for {"A"=>"aye"} and {"A"=>"bee"} 161s returns {"A"=>"bee"} when passed a Hamster::Hash 161s returns {"A"=>"bee"} when passed a Ruby Hash 161s doesn't change the original Hashes 161s for {"A"=>"aye"} and {"B"=>"bee"} 161s returns {"A"=>"aye", "B"=>"bee"} when passed a Hamster::Hash 161s returns {"A"=>"aye", "B"=>"bee"} when passed a Ruby Hash 161s doesn't change the original Hashes 161s 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]] 161s 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 161s 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 161s doesn't change the original Hashes 161s when merging with an empty Hash 161s returns self 161s when merging with subset Hash 161s returns self 161s when called on a subclass 161s returns an instance of the subclass 161s 161s Hamster::Hash 161s #min 161s returns the smallest key/val pair 161s #max 161s returns the largest key/val pair 161s #min_by 161s returns the smallest key/val pair (after passing it through a key function) 161s returns the first key/val pair yielded by #each in case of a tie 161s returns nil if the hash is empty 161s #max_by 161s returns the largest key/val pair (after passing it through a key function) 161s returns the first key/val pair yielded by #each in case of a tie 161s returns nil if the hash is empty 161s 161s Hamster::Hash 161s .new 161s is amenable to overriding of #initialize 161s accepts an array as initializer 161s returns a Hash which doesn't change even if initializer is mutated 161s from a subclass 161s returns a frozen instance of the subclass 161s .[] 161s accepts a Ruby Hash as initializer 161s accepts a Hamster::Hash as initializer 161s accepts an array as initializer 161s can be used with a subclass of Hamster::Hash 161s 161s Hamster::Hash 161s #none? 161s when empty 161s with a block returns true 161s with no block returns true 161s when not empty 161s with a block 161s returns false if the block ever returns true (["A", "aye"]) 161s returns true if the block always returns false 161s stops iterating as soon as the block returns true 161s returns false if the block ever returns true (["B", "bee"]) 161s returns true if the block always returns false 161s stops iterating as soon as the block returns true 161s returns false if the block ever returns true (["C", "see"]) 161s returns true if the block always returns false 161s stops iterating as soon as the block returns true 161s returns false if the block ever returns true ([nil, "NIL"]) 161s returns true if the block always returns false 161s stops iterating as soon as the block returns true 161s with no block 161s returns false 161s 161s Hamster::Hash 161s #partition 161s returns a pair of Hamster::Hashes 161s returns key/val pairs for which predicate is true in first Hash 161s returns key/val pairs for which predicate is false in second Hash 161s doesn't modify the original Hash 161s from a subclass 161s should return instances of the subclass 161s 161s Hamster::Hash 161s #pretty_print 161s prints the whole Hash on one line if it fits 161s prints each key/val pair on its own line, if not 161s prints keys and vals on separate lines, if space is very tight 161s 161s Hamster::Hash 161s #put 161s with a block 161s passes the value to the block 161s replaces the value with the result of the block 161s supports to_proc methods 161s if there is no existing association 161s passes nil to the block 161s stores the result of the block as the new value 161s with a unique key 161s preserves the original 161s returns a copy with the superset of key/value pairs 161s with a duplicate key 161s preserves the original 161s returns a copy with the superset of key/value pairs 161s with duplicate key and identical value 161s returns the original hash unmodified 161s with big hash (force nested tries) 161s returns the original hash unmodified for all changes 161s with unequal keys which hash to the same value 161s stores and can retrieve both 161s when a String is inserted as key and then mutated 161s is not affected 161s 161s Hamster::Hash 161s #reduce 161s when empty 161s returns the memo 161s when not empty 161s with a block 161s returns the final memo 161s with no block 161s uses a passed string as the name of a method to use instead 161s uses a passed symbol as the name of a method to use instead 161s #inject 161s when empty 161s returns the memo 161s when not empty 161s with a block 161s returns the final memo 161s with no block 161s uses a passed string as the name of a method to use instead 161s uses a passed symbol as the name of a method to use instead 161s 161s Hamster::Hash 161s #reject 161s when nothing matches 161s returns self 161s when only some things match 161s with a block 161s preserves the original 161s returns a set with the matching values 161s yields entries in the same order as #each 161s with no block 161s returns an Enumerator 161s on a large hash, with many combinations of input 161s still works 161s #delete_if 161s when nothing matches 161s returns self 161s when only some things match 161s with a block 161s preserves the original 161s returns a set with the matching values 161s yields entries in the same order as #each 161s with no block 161s returns an Enumerator 161s on a large hash, with many combinations of input 161s still works 161s 161s Hamster::Hash 161s #reverse_each 161s with a block 161s returns self 161s yields all key/value pairs in the opposite order as #each 161s with no block 161s returns an Enumerator 161s 161s Hamster::Hash 161s #sample 161s returns a randomly chosen item 161s 161s Hamster::Hash 161s #select 161s works on a large hash, with many combinations of input 161s when everything matches 161s returns self 161s when only some things match 161s yields entries as [key, value] pairs 161s with a block 161s preserves the original 161s returns a set with the matching values 161s with no block 161s returns an Enumerator 161s #find_all 161s works on a large hash, with many combinations of input 161s when everything matches 161s returns self 161s when only some things match 161s yields entries as [key, value] pairs 161s with a block 161s preserves the original 161s returns a set with the matching values 161s with no block 161s returns an Enumerator 161s #keep_if 161s works on a large hash, with many combinations of input 161s when everything matches 161s returns self 161s when only some things match 161s yields entries as [key, value] pairs 161s with a block 161s preserves the original 161s returns a set with the matching values 161s with no block 161s returns an Enumerator 161s 161s Hamster::Hash 161s #size 161s returns 0 for [] 161s returns 1 for [{"A"=>"aye"}] 161s returns 3 for [{"A"=>"bee", "B"=>"bee", "C"=>"see"}] 161s has the correct size after adding lots of things with colliding keys and such 161s has the correct size after lots of addings and removings 161s #length 161s returns 0 for [] 161s returns 1 for [{"A"=>"aye"}] 161s returns 3 for [{"A"=>"bee", "B"=>"bee", "C"=>"see"}] 161s has the correct size after adding lots of things with colliding keys and such 162s has the correct size after lots of addings and removings 162s 162s Hamster::Hash 162s #slice 162s with all keys present in the Hash 162s returns the sliced values 162s doesn't modify the original Hash 162s with keys aren't present in the Hash 162s returns the sliced values of the matching keys 162s doesn't modify the original Hash 162s on a Hash with a default block 162s maintains the default block 162s 162s Hamster::Hash 162s #sort 162s returns a Vector of sorted key/val pairs 162s works on large hashes 162s uses block as comparator to sort if passed a block 162s #sort_by 162s returns a Vector of key/val pairs, sorted using the block as a key function 162s 162s Hamster::Hash 162s #store 162s with a unique key 162s preserves the original 162s returns a copy with the superset of key/value pairs 162s with a duplicate key 162s preserves the original 162s returns a copy with the superset of key/value pairs 162s with duplicate key and identical value 162s returns the original hash unmodified 162s with big hash (force nested tries) 162s returns the original hash unmodified for all changes 162s with unequal keys which hash to the same value 162s stores and can retrieve both 162s when a String is inserted as key and then mutated 162s is not affected 162s 162s Hamster::Hash 162s #<= 162s for {} and {} 162s returns true 162s for {"A"=>1} and {} 162s returns false 162s for {} and {"A"=>1} 162s returns true 162s for {"A"=>1} and {"A"=>1} 162s returns true 162s for {"A"=>1} and {"A"=>2} 162s returns false 162s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 162s returns true 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 162s returns false 162s for {"B"=>0} and {"A"=>1, "B"=>2, "C"=>3} 162s returns false 162s #< 162s for {} and {} 162s returns false 162s for {"A"=>1} and {} 162s returns false 162s for {} and {"A"=>1} 162s returns true 162s for {"A"=>1} and {"A"=>1} 162s returns false 162s for {"A"=>1} and {"A"=>2} 162s returns false 162s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 162s returns true 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 162s returns false 162s for {"B"=>0} and {"A"=>1, "B"=>2, "C"=>3} 162s returns false 162s 162s Hamster::Hash 162s #>= 162s for {} and {} 162s returns true 162s for {"A"=>1} and {} 162s returns true 162s for {} and {"A"=>1} 162s returns false 162s for {"A"=>1} and {"A"=>1} 162s returns true 162s for {"A"=>1} and {"A"=>2} 162s returns false 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 162s returns true 162s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 162s returns false 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>0} 162s returns false 162s #> 162s for {} and {} 162s returns false 162s for {"A"=>1} and {} 162s returns true 162s for {} and {"A"=>1} 162s returns false 162s for {"A"=>1} and {"A"=>1} 162s returns false 162s for {"A"=>1} and {"A"=>2} 162s returns false 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>2} 162s returns true 162s for {"B"=>2} and {"A"=>1, "B"=>2, "C"=>3} 162s returns false 162s for {"A"=>1, "B"=>2, "C"=>3} and {"B"=>0} 162s returns false 162s 162s Hamster::Hash 162s #take 162s returns the first N key/val pairs from hash 162s #take_while 162s passes elements to the block until the block returns nil/false 162s returns an array of all elements before the one which returned nil/false 162s passes all elements if the block never returns nil/false 162s 162s Hamster::Hash 162s #to_a 162s returns an Array of [key, value] pairs in same order as #each 162s 162s Hamster::Hash 162s #to_hash 162s converts an empty Hamster::Hash to an empty Ruby Hash 162s converts a non-empty Hamster::Hash to a Hash with the same keys and values 162s doesn't modify the receiver 162s #to_h 162s converts an empty Hamster::Hash to an empty Ruby Hash 162s converts a non-empty Hamster::Hash to a Hash with the same keys and values 162s doesn't modify the receiver 162s 162s Hamster::Hash 162s #to_proc 162s on Hash without default proc 162s returns a Proc instance 162s returns a Proc that returns the value of an existing key 162s returns a Proc that returns nil for a missing key 162s on Hash with a default proc 162s returns a Proc instance 162s returns a Proc that returns the value of an existing key 162s returns a Proc that returns the result of the hash's default proc for a missing key 162s 162s Hamster::Hash 162s #values_at 162s on Hash without default proc 162s returns an empty vector when no keys are given 162s returns a vector of values for the given keys 162s fills nil when keys are missing 162s on Hash with default proc 162s fills the result of the default proc when keys are missing 162s 162s Hamster::Hash 162s #values 162s returns the keys as a Vector 162s with duplicates 162s returns the keys as a Vector 162s 162s Hamster::Immutable 162s #dup 162s returns self 162s #clone 162s returns self 162s 162s Hamster::Immutable 162s #immutable? 162s object constructed after its class becomes Immutable 162s returns true 162s object constructed before its class becomes Immutable 162s that are not frozen 162s returns false 162s that are frozen 162s returns true 162s 162s Hamster::Immutable 162s #memoize 162s keeps the receiver frozen and immutable 162s when called multiple times 162s doesn't evaluate the memoized method more than once 162s when making a copy 162s clears all memory 162s 162s Hamster::Immutable 162s freezes the instance 162s subclass hides all public methods 162s freezes the instance 162s 162s Hamster::Immutable 162s #transform 162s preserves the original 162s returns a new instance with the updated values 162s 162s Hamster::Immutable 162s #transform_unless 162s when the condition is false 162s preserves the original 162s returns a new instance with the updated values 162s when the condition is true 162s preserves the original 162s returns the original 162s 162s Hamster::List 162s #add 162s on [] with "A" 162s preserves the original 162s returns ["A"] 162s on ["A"] with "B" 162s preserves the original 162s returns ["B", "A"] 162s on ["A"] with "A" 162s preserves the original 162s returns ["A", "A"] 162s on ["A", "B", "C"] with "D" 162s preserves the original 162s returns ["D", "A", "B", "C"] 162s 162s Hamster::List 162s #all? 162s on a really big list 162s doesn't run out of stack 162s when empty 162s with a block returns true 162s with no block returns true 162s when not empty 162s with a block 162s if the block always returns true 162s returns true 162s if the block ever returns false 162s returns false 162s with no block 162s if all values are truthy 162s returns true 162s if any value is nil 162s returns false 162s if any value is false 162s returns false 162s 162s Hamster::List 162s #any? 162s on a really big list 162s doesn't run out of stack 162s when empty 162s with a block returns false 162s with no block returns false 162s when not empty 162s with a block 162s returns true if the block ever returns true ("A") 162s returns true if the block ever returns true ("B") 162s returns true if the block ever returns true ("C") 162s returns true if the block ever returns true (nil) 162s returns false if the block always returns false 162s with no block 162s returns true if any value is truthy 162s returns false if all values are falsey 162s 162s Hamster::List 162s #append 162s is lazy 162s on [] and [] 162s preserves the left 162s preserves the right 162s returns [] 162s on ["A"] and [] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on [] and ["A"] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on ["A", "B"] and ["C", "D"] 162s preserves the left 162s preserves the right 162s returns ["A", "B", "C", "D"] 162s #concat 162s is lazy 162s on [] and [] 162s preserves the left 162s preserves the right 162s returns [] 162s on ["A"] and [] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on [] and ["A"] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on ["A", "B"] and ["C", "D"] 162s preserves the left 162s preserves the right 162s returns ["A", "B", "C", "D"] 162s #+ 162s is lazy 162s on [] and [] 162s preserves the left 162s preserves the right 162s returns [] 162s on ["A"] and [] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on [] and ["A"] 162s preserves the left 162s preserves the right 162s returns ["A"] 162s on ["A", "B"] and ["C", "D"] 162s preserves the left 162s preserves the right 162s returns ["A", "B", "C", "D"] 162s 162s Hamster::List 162s #at 162s on a really big list 162s doesn't run out of stack 162s [] with 10 162s returns nil 162s ["A"] with 10 162s returns nil 162s ["A", "B", "C"] with 0 162s returns "A" 162s ["A", "B", "C"] with 2 162s returns "C" 162s ["A", "B", "C"] with -1 162s returns "C" 162s ["A", "B", "C"] with -2 162s returns "B" 162s ["A", "B", "C"] with -4 162s returns nil 162s 162s Hamster::List 162s #break 162s is lazy 162s on [] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [1] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [1, 2] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [1, 2, 3] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [1, 2, 3, 4] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [2, 3, 4] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [3, 4] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s on [4] 162s with a block 162s preserves the original 162s returns a frozen array with two items 162s correctly identifies the prefix 162s correctly identifies the remainder 162s without a block 162s returns a frozen array with two items 162s returns self as the prefix 162s leaves the remainder empty 162s 162s Hamster::List 162s #car 162s is responded to 162s on [] 162s preserves the original 162s returns nil 162s #car 162s is responded to 162s on ["A"] 162s preserves the original 162s returns "A" 162s #car 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns "A" 162s #cadr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns "B" 162s #caddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns "C" 162s #cadddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns nil 162s #caddddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns nil 162s #cdr 162s is responded to 162s on [] 162s preserves the original 162s returns Hamster::List[] 162s #cdr 162s is responded to 162s on ["A"] 162s preserves the original 162s returns Hamster::List[] 162s #cdr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns Hamster::List["B", "C"] 162s #cddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns Hamster::List["C"] 162s #cdddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns Hamster::List[] 162s #cddddr 162s is responded to 162s on ["A", "B", "C"] 162s preserves the original 162s returns Hamster::List[] 162s 162s Hamster::List 162s #chunk 162s is lazy 162s on [] 162s preserves the original 162s returns [] 162s on ["A"] 162s preserves the original 162s returns [Hamster::List["A"]] 162s on ["A", "B", "C"] 162s preserves the original 162s returns [Hamster::List["A", "B"], Hamster::List["C"]] 162s 162s Hamster::List 162s #clear 162s on [] 162s preserves the original 162s returns an empty list 162s on ["A"] 162s preserves the original 162s returns an empty list 162s on ["A", "B", "C"] 162s preserves the original 162s returns an empty list 162s 162s Hamster::List 162s #combination 162s is lazy 162s on ["A", "B", "C", "D"] in groups of 1 162s preserves the original 162s returns [Hamster::List["A"], Hamster::List["B"], Hamster::List["C"], Hamster::List["D"]] 162s on ["A", "B", "C", "D"] in groups of 2 162s preserves the original 162s 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"]] 162s on ["A", "B", "C", "D"] in groups of 3 162s preserves the original 162s returns [Hamster::List["A", "B", "C"], Hamster::List["A", "B", "D"], Hamster::List["A", "C", "D"], Hamster::List["B", "C", "D"]] 162s on ["A", "B", "C", "D"] in groups of 4 162s preserves the original 162s returns [Hamster::List["A", "B", "C", "D"]] 162s on ["A", "B", "C", "D"] in groups of 0 162s preserves the original 162s returns [Hamster::List[]] 162s on ["A", "B", "C", "D"] in groups of 5 162s preserves the original 162s returns [] 162s on [] in groups of 0 162s preserves the original 162s returns [Hamster::List[]] 162s on [] in groups of 1 162s preserves the original 162s returns [] 162s 162s Hamster::List 162s #compact 162s is lazy 162s on [] 162s preserves the original 162s returns [] 162s on ["A"] 162s preserves the original 162s returns ["A"] 162s on ["A", "B", "C"] 162s preserves the original 162s returns ["A", "B", "C"] 162s on [nil] 162s preserves the original 162s returns [] 162s on [nil, "B"] 162s preserves the original 162s returns ["B"] 162s on ["A", nil] 162s preserves the original 162s returns ["A"] 162s on [nil, nil] 162s preserves the original 162s returns [] 162s on ["A", nil, "C"] 162s preserves the original 162s returns ["A", "C"] 162s on [nil, "B", nil] 162s preserves the original 162s returns ["B"] 162s 162s Hamster::List 162s #<=> 162s with [] and [1] 162s returns -1 162s with [1] and [] 162s returns 1 162s with [] and [] 162s returns 0 162s with [1] and [2] 162s returns -1 162s with [2] and [1] 162s returns 1 162s with [1] and [1] 162s returns 0 162s with [1] and [1, 2] 162s returns -1 162s with [1, 2] and [1] 162s returns 1 162s with [1] and [1] 162s returns 0 162s with [2, 3, 4] and [3, 4, 5] 162s returns -1 162s with [3, 4, 5] and [2, 3, 4] 162s returns 1 162s with [2, 3, 4] and [2, 3, 4] 162s returns 0 162s 162s Hamster::List 162s #cons 162s on [] with "A" 162s preserves the original 162s returns ["A"] 162s on ["A"] with "B" 162s preserves the original 162s returns ["B", "A"] 162s on ["A"] with "A" 162s preserves the original 162s returns ["A", "A"] 162s on ["A", "B", "C"] with "D" 162s preserves the original 162s returns ["D", "A", "B", "C"] 162s 162s Hamster 162s .list 162s with no arguments 162s always returns the same instance 162s returns an empty list 162s with a number of items 162s always returns a different instance 162s is the same as repeatedly using #cons 162s .stream 162s with no block 162s returns an empty list 162s with a block 162s repeatedly calls the block 162s .interval 162s for numbers 162s is equivalent to a list with explicit values 162s for strings 162s is equivalent to a list with explicit values 162s .repeat 162s returns an infinite list with specified value for each element 162s .replicate 162s returns a list with the specified value repeated the specified number of times 162s .iterate 162s 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 162s .enumerate 162s returns a list based on the values yielded from the enumerator 162s 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.DIdRDv/build.B6s/src/spec/lib/hamster/list/construction_spec.rb:94:in `block (3 levels) in '. 162s realizes values as they are needed 162s [] 162s takes a variable number of items and returns a list 162s returns an empty list when called without arguments 162s 162s Hamster::List 162s on [] 162s returns self 162s on ["A"] 162s returns self 162s on ["A", "B", "C"] 162s returns self 162s on [] 162s returns self 162s on ["A"] 162s returns self 162s on ["A", "B", "C"] 162s returns self 162s 162s Hamster::List 162s #count 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s returns 0 162s without a block 162s returns length 162s on [1] 162s with a block 162s returns 1 162s without a block 162s returns length 162s on [1, 2] 162s with a block 162s returns 1 162s without a block 162s returns length 162s on [1, 2, 3] 162s with a block 162s returns 2 162s without a block 162s returns length 162s on [1, 2, 3, 4] 162s with a block 162s returns 2 162s without a block 162s returns length 162s on [1, 2, 3, 4, 5] 162s with a block 162s returns 3 162s without a block 162s returns length 162s 162s Hamster 162s #cycle 162s is lazy 162s with an empty list 162s returns an empty list 162s with a non-empty list 162s preserves the original 162s infinitely cycles through all values 162s 162s Hamster::List 162s #delete_at 162s removes the element at the specified index 162s makes no modification if the index is out of range 162s 162s Hamster::List 162s #delete 162s removes elements that are #== to the argument 162s 162s Hamster::List 162s #drop 162s is lazy 162s with 10 from [] 162s preserves the original 162s returns [] 162s with 10 from ["A"] 162s preserves the original 162s returns [] 162s with -1 from ["A"] 162s preserves the original 162s returns ["A"] 162s with 0 from ["A", "B", "C"] 162s preserves the original 162s returns ["A", "B", "C"] 162s with 2 from ["A", "B", "C"] 162s preserves the original 162s returns ["C"] 162s 162s Hamster::List 162s #drop_while 162s is lazy 162s on [] 162s with a block 162s preserves the original 162s returns [] 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s preserves the original 162s returns [] 162s without a block 162s returns an Enumerator 162s on ["A", "B", "C"] 162s with a block 162s preserves the original 162s returns ["C"] 162s without a block 162s returns an Enumerator 162s 162s Hamster::List 162s #each_chunk 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s on ["A"] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s on ["A", "B", "C"] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s #each_slice 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s on ["A"] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s on ["A", "B", "C"] 162s with a block 162s preserves the original 162s iterates over the items in order 162s returns self 162s without a block 162s preserves the original 162s returns an Enumerator 162s 162s Hamster::List 162s #each 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s iterates over the items in order 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s iterates over the items in order 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A", "B", "C"] 162s with a block 162s iterates over the items in order 162s returns nil 162s without a block 162s returns an Enumerator 162s 162s Hamster::List 162s #each_with_index 162s with no block 162s returns an Enumerator 162s with a block 162s returns self 162s iterates over the items in order, yielding item and index 162s 162s Hamster::List 162s #empty? 162s on a really big list 162s doesn't run out of stack 162s on [] 162s returns true 162s on ["A"] 162s returns false 162s on ["A", "B", "C"] 162s returns false 162s 162s Hamster::List 162s Hamster::List["A", "B", "C"] should == ["A", "B", "C"] 162s Hamster::List["A", "B", "C"] should not eql? ["A", "B", "C"] 162s Hamster::List["A", "B", "C"] should not == # 162s Hamster::List["A", "B", "C"] should not eql? # 162s Hamster::List[] should == [] 162s Hamster::List[] should not eql? [] 162s Hamster::List[] should eql? Hamster::List[] 162s Hamster::List[] should == Hamster::List[] 162s Hamster::List[] should not eql? Hamster::List[nil] 162s Hamster::List["A"] should not eql? Hamster::List[] 162s Hamster::List["A"] should eql? Hamster::List["A"] 162s Hamster::List["A"] should == Hamster::List["A"] 162s Hamster::List["A"] should not eql? Hamster::List["B"] 162s Hamster::List["A", "B"] should not eql? Hamster::List["A"] 162s Hamster::List["A", "B", "C"] should eql? Hamster::List["A", "B", "C"] 162s Hamster::List["A", "B", "C"] should == Hamster::List["A", "B", "C"] 162s Hamster::List["C", "A", "B"] should not eql? Hamster::List["A", "B", "C"] 162s Hamster::List["A"] should == ["A"] 162s ["A"] should == Hamster::List["A"] 162s Hamster::List["A"] should not eql? ["A"] 162s ["A"] should not eql? Hamster::List["A"] 162s #eql? 162s on a really big list 162s doesn't run out of stack 162s 162s Hamster::List 162s #fill 162s can replace a range of items at the beginning of a list 162s can replace a range of items in the middle of a list 162s can replace a range of items at the end of a list 162s can replace all the items in a list 162s can fill past the end of the list 162s is lazy 162s with 1 argument 162s replaces all the items in the list by default 162s with 2 arguments 162s replaces up to the end of the list by default 162s when index and length are 0 162s leaves the list unmodified 162s 162s Hamster::List 162s #find_all 162s is lazy 162s with an empty array 162s with a block 162s preserves the original 162s returns the found list 162s without a block 162s returns an Enumerator 162s with a single item array 162s with a block 162s preserves the original 162s returns the found list 162s without a block 162s returns an Enumerator 162s with a multi-item array 162s with a block 162s preserves the original 162s returns the found list 162s without a block 162s returns an Enumerator 162s with a multi-item single find_allable array 162s with a block 162s preserves the original 162s returns the found list 162s without a block 162s returns an Enumerator 162s with a multi-item multi-find_allable array 162s with a block 162s preserves the original 162s returns the found list 162s without a block 162s returns an Enumerator 162s 162s Hamster::List 162s #find_index 162s on a really big list 162s doesn't run out of stack 162s looking for "A" in [] 162s returns nil 162s looking for nil in [] 162s returns nil 162s looking for "A" in ["A"] 162s returns 0 162s looking for "B" in ["A"] 162s returns nil 162s looking for nil in ["A"] 162s returns nil 162s looking for "A" in ["A", "B", nil] 162s returns 0 162s looking for "B" in ["A", "B", nil] 162s returns 1 162s looking for nil in ["A", "B", nil] 162s returns 2 162s looking for "C" in ["A", "B", nil] 162s returns nil 162s looking for 2 in [2] 162s returns 0 162s looking for 2.0 in [2] 162s returns 0 162s looking for 2.0 in [2.0] 162s returns 0 162s looking for 2 in [2.0] 162s returns 0 162s #index 162s on a really big list 162s doesn't run out of stack 162s looking for "A" in [] 162s returns nil 162s looking for nil in [] 162s returns nil 162s looking for "A" in ["A"] 162s returns 0 162s looking for "B" in ["A"] 162s returns nil 162s looking for nil in ["A"] 162s returns nil 162s looking for "A" in ["A", "B", nil] 162s returns 0 162s looking for "B" in ["A", "B", nil] 162s returns 1 162s looking for nil in ["A", "B", nil] 162s returns 2 162s looking for "C" in ["A", "B", nil] 162s returns nil 162s looking for 2 in [2] 162s returns 0 162s looking for 2.0 in [2] 162s returns 0 162s looking for 2.0 in [2.0] 162s returns 0 162s looking for 2 in [2.0] 162s returns 0 162s 162s Hamster::List 162s #find 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on [] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns "A" 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns "A" 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns "B" 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s #detect 162s on a really big list 162s doesn't run out of stack 162s on [] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on [] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns "A" 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A"] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns "A" 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns "B" 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s on ["A", "B", nil] 162s with a block 162s returns nil 162s without a block 162s returns an Enumerator 162s 162s Hamster::List 162s #flat_map 162s with an empty list 162s returns the flattened values as a Hamster::List 162s returns a Hamster::List 162s with a block that returns an empty list 162s returns the flattened values as a Hamster::List 162s returns a Hamster::List 162s with a list of one item 162s returns the flattened values as a Hamster::List 162s returns a Hamster::List 162s with a list of multiple items 162s returns the flattened values as a Hamster::List 162s returns a Hamster::List 162s 162s Hamster 162s #flatten 162s is lazy 162s on [] 162s preserves the original 162s returns an empty list 162s on ["A"] 162s preserves the original 162s returns an empty list 162s on ["A", "B", "C"] 162s preserves the original 162s returns an empty list 162s on ["A", Hamster::List["B"], "C"] 162s preserves the original 162s returns an empty list 162s on [Hamster::List["A"], Hamster::List["B"], Hamster::List["C"]] 162s preserves the original 162s returns an empty list 162s 162s Hamster::List 162s #grep 162s is lazy 162s without a block 162s on [] 162s returns [] 162s on ["A"] 162s returns ["A"] 162s on [1] 162s returns [] 162s on ["A", 2, "C"] 162s returns ["A", "C"] 162s with a block 162s on [] 162s preserves the original 162s returns [] 162s on ["A"] 162s preserves the original 162s returns ["a"] 162s on [1] 162s preserves the original 162s returns [] 162s on ["A", 2, "C"] 162s preserves the original 162s returns ["a", "c"] 162s 162s Hamster::List 162s #group_by 162s on a really big list 162s doesn't run out of stack 162s with a block 162s on [] 162s returns [] 162s on [1] 162s returns [{true=>Hamster::List[1]}] 162s on [1, 2, 3, 4] 162s returns [{true=>Hamster::List[3, 1], false=>Hamster::List[4, 2]}] 162s without a block 162s on [] 162s returns [] 162s on [1] 162s returns [{1=>Hamster::List[1]}] 162s on [1, 2, 3, 4] 162s returns [{1=>Hamster::List[1], 2=>Hamster::List[2], 3=>Hamster::List[3], 4=>Hamster::List[4]}] 162s #group 162s on a really big list 163s doesn't run out of stack 163s with a block 163s on [] 163s returns [] 163s on [1] 163s returns [{true=>Hamster::List[1]}] 163s on [1, 2, 3, 4] 163s returns [{true=>Hamster::List[3, 1], false=>Hamster::List[4, 2]}] 163s without a block 163s on [] 163s returns [] 163s on [1] 163s returns [{1=>Hamster::List[1]}] 163s on [1, 2, 3, 4] 163s returns [{1=>Hamster::List[1], 2=>Hamster::List[2], 3=>Hamster::List[3], 4=>Hamster::List[4]}] 163s 163s Hamster::List 163s #hash 163s values are sufficiently distributed 163s on a really big list 163s doesn't run out of stack 163s on an empty list 163s returns 0 163s 163s Hamster::List 163s #head 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["A", "B", "C"] 163s returns "A" 163s #first 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["A", "B", "C"] 163s returns "A" 163s 163s Hamster::List 163s #include? 163s on a really big list 163s doesn't run out of stack 163s on [] 163s returns false 163s on [] 163s returns false 163s on ["A"] 163s returns true 163s on ["A"] 163s returns false 163s on ["A"] 163s returns false 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns false 163s on [2] 163s returns true 163s on [2] 163s returns true 163s on [2.0] 163s returns true 163s on [2.0] 163s returns true 163s #member? 163s on a really big list 163s doesn't run out of stack 163s on [] 163s returns false 163s on [] 163s returns false 163s on ["A"] 163s returns true 163s on ["A"] 163s returns false 163s on ["A"] 163s returns false 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns true 163s on ["A", "B", nil] 163s returns false 163s on [2] 163s returns true 163s on [2] 163s returns true 163s on [2.0] 163s returns true 163s on [2.0] 163s returns true 163s 163s Hamster::List 163s #index 163s on a really big list 163s doesn't run out of stack 163s looking for "A" in [] 163s returns nil 163s looking for nil in [] 163s returns nil 163s looking for "A" in ["A"] 163s returns 0 163s looking for "B" in ["A"] 163s returns nil 163s looking for nil in ["A"] 163s returns nil 163s looking for "A" in ["A", "B", nil] 163s returns 0 163s looking for "B" in ["A", "B", nil] 163s returns 1 163s looking for nil in ["A", "B", nil] 163s returns 2 163s looking for "C" in ["A", "B", nil] 163s returns nil 163s looking for 2 in [2] 163s returns 0 163s looking for 2.0 in [2] 163s returns 0 163s looking for 2.0 in [2.0] 163s returns 0 163s looking for 2 in [2.0] 163s returns 0 163s 163s Hamster::List 163s #indices 163s when called with a block 163s is lazy 163s on a large list which doesn't contain desired item 163s doesn't blow the stack 163s looking for "A" in [] 163s returns [] 163s looking for "B" in ["A"] 163s returns [] 163s looking for "B" in ["A", "B", "A"] 163s returns [1] 163s looking for "A" in ["A", "B", "A"] 163s returns [0, 2] 163s looking for 2 in [2] 163s returns [0] 163s looking for 2.0 in [2] 163s returns [0] 163s looking for 2.0 in [2.0] 163s returns [0] 163s looking for 2 in [2.0] 163s returns [0] 163s when called with a single argument 163s is lazy 163s looking for "A" in [] 163s returns [] 163s looking for "B" in ["A"] 163s returns [] 163s looking for "B" in ["A", "B", "A"] 163s returns [1] 163s looking for "A" in ["A", "B", "A"] 163s returns [0, 2] 163s looking for 2 in [2] 163s returns [0] 163s looking for 2.0 in [2] 163s returns [0] 163s looking for 2.0 in [2.0] 163s returns [0] 163s looking for 2 in [2.0] 163s returns [0] 163s 163s Hamster::List 163s #init 163s is lazy 163s on [] 163s preserves the original 163s returns the list without the last element: [] 163s on ["A"] 163s preserves the original 163s returns the list without the last element: [] 163s on ["A", "B", "C"] 163s preserves the original 163s returns the list without the last element: ["A", "B"] 163s 163s Hamster::List 163s #inits 163s is lazy 163s on [] 163s preserves the original 163s returns [] 163s on ["A"] 163s preserves the original 163s returns [Hamster::List["A"]] 163s on ["A", "B", "C"] 163s preserves the original 163s returns [Hamster::List["A"], Hamster::List["A", "B"], Hamster::List["A", "B", "C"]] 163s 163s Hamster::List 163s #insert 163s can add items at the beginning of a list 163s can add items in the middle of a list 163s can add items at the end of a list 163s can add items past the end of a list 163s accepts a negative index, which counts back from the end of the list 163s raises IndexError if a negative index is too great 163s is lazy 163s 163s Hamster::List 163s #inspect 163s on a really big list 163s doesn't run out of stack 163s on [] 163s returns "Hamster::List[]" 163s returns a string which can be eval'd to get an equivalent object 163s on ["A"] 163s returns "Hamster::List[\"A\"]" 163s returns a string which can be eval'd to get an equivalent object 163s on ["A", "B", "C"] 163s returns "Hamster::List[\"A\", \"B\", \"C\"]" 163s returns a string which can be eval'd to get an equivalent object 163s 163s Hamster::List 163s #intersperse 163s is lazy 163s on [] 163s preserves the original 163s returns [] 163s on ["A"] 163s preserves the original 163s returns ["A"] 163s on ["A", "B", "C"] 163s preserves the original 163s returns ["A", "|", "B", "|", "C"] 163s 163s Hamster::List 163s #join 163s on a really big list 163s doesn't run out of stack 163s with a separator 163s on [] 163s preserves the original 163s returns "" 163s on ["A"] 163s preserves the original 163s returns "A" 163s on ["A", "B", "C"] 163s preserves the original 163s returns "A|B|C" 163s without a separator 163s on [] 163s preserves the original 163s returns "" 163s on ["A"] 163s preserves the original 163s returns "A" 163s on ["A", "B", "C"] 163s preserves the original 163s returns "ABC" 163s without a separator (with global default separator set) 163s uses the default global separator 163s 163s Hamster::List 163s #last 163s on a really big list 163s doesn't run out of stack 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["A", "B", "C"] 163s returns "C" 163s 163s Hamster::List 163s #<< 163s adds an item onto the end of a list 163s on an empty list 163s returns a list with one item 163s 163s Hamster::List 163s #map 163s is lazy 163s on [] 163s with a block 163s preserves the original 163s returns [] 163s is lazy 163s without a block 163s returns an Enumerator 163s on ["A"] 163s with a block 163s preserves the original 163s returns ["a"] 163s is lazy 163s without a block 163s returns an Enumerator 163s on ["A", "B", "C"] 163s with a block 163s preserves the original 163s returns ["a", "b", "c"] 163s is lazy 163s without a block 163s returns an Enumerator 163s #collect 163s is lazy 163s on [] 163s with a block 163s preserves the original 163s returns [] 163s is lazy 163s without a block 163s returns an Enumerator 163s on ["A"] 163s with a block 163s preserves the original 163s returns ["a"] 163s is lazy 163s without a block 163s returns an Enumerator 163s on ["A", "B", "C"] 163s with a block 163s preserves the original 163s returns ["a", "b", "c"] 163s is lazy 163s without a block 163s returns an Enumerator 163s 163s Hamster::List 163s #max 163s on a really big list 163s doesn't run out of stack 163s with a block 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["Ichi", "Ni", "San"] 163s returns "Ichi" 163s without a block 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["Ichi", "Ni", "San"] 163s returns "San" 163s 163s Hamster::List 163s without a comparator 163s on an empty list 163s returns an empty list 163s on a single list 163s returns the list 163s with multiple lists 163s merges the lists based on natural sort order 163s with a comparator 163s on an empty list 163s returns an empty list 163s on a single list 163s returns the list 163s with multiple lists 163s merges the lists based on the specified transformer 163s 163s Hamster::List 163s without a comparator 163s on an empty list 163s returns an empty list 163s on a single list 163s returns the list 163s with multiple lists 163s merges the lists based on natural sort order 163s with a comparator 163s on an empty list 163s returns an empty list 163s on a single list 163s returns the list 163s with multiple lists 163s merges the lists based on the specified comparator 163s 163s Hamster::List 163s #min 163s on a really big list 163s doesn't run out of stack 163s with a block 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["Ichi", "Ni", "San"] 163s returns "Ni" 163s without a block 163s on [] 163s returns nil 163s on ["A"] 163s returns "A" 163s on ["Ichi", "Ni", "San"] 163s returns "Ichi" 163s 163s Hamster::List 163s ensures each node of a lazy list will only be realized on ONE thread, even when accessed by multiple threads 163s doesn't go into an infinite loop if lazy list block raises an exception 163s doesn't give horrendously bad performance if thread realizing the list sleeps (PENDING: Temporarily skipped with xit) 163s 163s Hamster::List 163s #none? 163s on a really big list 163s doesn't run out of stack 163s when empty 163s with a block returns true 163s with no block returns true 163s when not empty 163s with a block 163s returns false if the block ever returns true ("A") 163s returns false if the block ever returns true ("B") 163s returns false if the block ever returns true ("C") 163s returns false if the block ever returns true (nil) 163s returns true if the block always returns false 163s with no block 163s returns false if any value is truthy 163s returns true if all values are falsey 163s 163s Hamster::List 163s #one? 163s on a really big list 163s doesn't run out of stack 163s when empty 163s with a block returns false 163s with no block returns false 163s when not empty 163s with a block 163s returns false if the block returns true more than once 163s returns false if the block never returns true 163s returns true if the block only returns true once 163s with no block 163s returns false if more than one value is truthy 163s returns true if only one value is truthy 163s 163s Hamster::List 163s #partition 163s is lazy 163s calls the passed block only once for each item 163s returns a lazy list of items for which predicate is true 163s returns a lazy list of items for which predicate is false 164s calls the passed block only once for each item, even with multiple threads 164s on [] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [1] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [1, 2] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [1, 2, 3] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [1, 2, 3, 4] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [2, 3, 4] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [3, 4] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s on [4] 164s with a block 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s without a block 164s returns an Enumerator 164s 164s Hamster::List 164s #permutation 164s with no block 164s returns an Enumerator 164s with no argument 164s yields all permutations of the list 164s with a length argument 164s yields all N-size permutations of the list 164s with a length argument greater than length of list 164s yields nothing 164s with a length argument of 0 164s yields an empty list 164s with a block 164s returns the original list 164s 164s Hamster::List 164s #pop 164s with an empty list 164s returns an empty list 164s with a list with a few items 164s removes the last item 164s 164s Hamster::List 164s #product 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns 1 164s on [2] 164s returns 2 164s on [1, 3, 5, 7, 11] 164s returns 1155 164s 164s Hamster::List 164s #reduce 164s on a really big list 164s doesn't run out of stack 164s on [] 164s with an initial value of 10 and a block 164s returns 10 164s on [1] 164s with an initial value of 10 and a block 164s returns 9 164s on [1, 2, 3] 164s with an initial value of 10 and a block 164s returns 4 164s on [] 164s with no initial value and a block 164s returns nil 164s on [1] 164s with no initial value and a block 164s returns 1 164s on [1, 2, 3] 164s with no initial value and a block 164s returns -4 164s with no block and a symbol argument 164s uses the symbol as the name of a method to reduce with 164s with no block and a string argument 164s uses the string as the name of a method to reduce with 164s #inject 164s on a really big list 164s doesn't run out of stack 164s on [] 164s with an initial value of 10 and a block 164s returns 10 164s on [1] 164s with an initial value of 10 and a block 164s returns 9 164s on [1, 2, 3] 164s with an initial value of 10 and a block 164s returns 4 164s on [] 164s with no initial value and a block 164s returns nil 164s on [1] 164s with no initial value and a block 164s returns 1 164s on [1, 2, 3] 164s with no initial value and a block 164s returns -4 164s with no block and a symbol argument 164s uses the symbol as the name of a method to reduce with 164s with no block and a string argument 164s uses the string as the name of a method to reduce with 164s 164s Hamster::List 164s #reject 164s is lazy 164s on [] 164s with a block 164s returns [] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns ["A"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A", "B", "C"] 164s with a block 164s returns ["A", "B", "C"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A", "b", "C"] 164s with a block 164s returns ["A", "C"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["a", "b", "c"] 164s with a block 164s returns [] 164s is lazy 164s without a block 164s returns an Enumerator 164s #delete_if 164s is lazy 164s on [] 164s with a block 164s returns [] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns ["A"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A", "B", "C"] 164s with a block 164s returns ["A", "B", "C"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A", "b", "C"] 164s with a block 164s returns ["A", "C"] 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["a", "b", "c"] 164s with a block 164s returns [] 164s is lazy 164s without a block 164s returns an Enumerator 164s 164s Hamster::List 164s #reverse 164s is lazy 164s on a really big list 164s doesn't run out of stack 164s on [] 164s preserves the original 164s returns [] 164s on ["A"] 164s preserves the original 164s returns ["A"] 164s on ["A", "B", "C"] 164s preserves the original 164s returns ["C", "B", "A"] 164s 164s Hamster::List 164s #rotate 164s when passed no argument 164s returns a new list with the first element moved to the end 164s with an integral argument n 164s returns a new list with the first (n % size) elements moved to the end 164s with a non-numeric argument 164s raises a TypeError 164s with an argument of zero (or one evenly divisible by list length) 164s it returns self 164s 164s Hamster::List 164s #sample 164s returns a randomly chosen item 164s 164s Hamster::List 164s #select 164s is lazy 164s with an empty array 164s with a block 164s preserves the original 164s returns the selected list 164s without a block 164s returns an Enumerator 164s with a single item array 164s with a block 164s preserves the original 164s returns the selected list 164s without a block 164s returns an Enumerator 164s with a multi-item array 164s with a block 164s preserves the original 164s returns the selected list 164s without a block 164s returns an Enumerator 164s with a multi-item single selectable array 164s with a block 164s preserves the original 164s returns the selected list 164s without a block 164s returns an Enumerator 164s with a multi-item multi-selectable array 164s with a block 164s preserves the original 164s returns the selected list 164s without a block 164s returns an Enumerator 164s 164s Hamster::List 164s #size 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns 0 164s on ["A"] 164s returns 1 164s on ["A", "B", "C"] 164s returns 3 164s #length 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns 0 164s on ["A"] 164s returns 1 164s on ["A", "B", "C"] 164s returns 3 164s 164s Hamster::List 164s #slice 164s when passed a positive integral index 164s returns the element at that index 164s leaves the original unchanged 164s when passed a negative integral index 164s returns the element which is number (index.abs) counting from the end of the list 164s when passed a positive integral index and count 164s returns 'count' elements starting from 'index' 164s leaves the original unchanged 164s when passed a negative integral index and count 164s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 164s when passed a Range 164s returns the elements whose indexes are within the given Range 164s leaves the original unchanged 164s when passed a subclass of Range 164s works the same as with a Range 164s #[] 164s when passed a positive integral index 164s returns the element at that index 164s leaves the original unchanged 164s when passed a negative integral index 164s returns the element which is number (index.abs) counting from the end of the list 164s when passed a positive integral index and count 164s returns 'count' elements starting from 'index' 164s leaves the original unchanged 164s when passed a negative integral index and count 164s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 164s when passed a Range 164s returns the elements whose indexes are within the given Range 164s leaves the original unchanged 164s when passed a subclass of Range 164s works the same as with a Range 164s 164s Hamster::List 164s #sort 164s is lazy 164s on [] 164s with a block 164s preserves the original 164s returns [] 164s without a block 164s preserves the original 164s returns [] 164s on ["A"] 164s with a block 164s preserves the original 164s returns ["A"] 164s without a block 164s preserves the original 164s returns ["A"] 164s on ["Ichi", "Ni", "San"] 164s with a block 164s preserves the original 164s returns ["Ni", "San", "Ichi"] 164s without a block 164s preserves the original 164s returns ["Ichi", "Ni", "San"] 164s #sort_by 164s is lazy 164s on [] 164s with a block 164s preserves the original 164s returns [] 164s without a block 164s preserves the original 164s returns [] 164s on ["A"] 164s with a block 164s preserves the original 164s returns ["A"] 164s without a block 164s preserves the original 164s returns ["A"] 164s on ["Ichi", "Ni", "San"] 164s with a block 164s preserves the original 164s returns ["Ni", "San", "Ichi"] 164s without a block 164s preserves the original 164s returns ["Ichi", "Ni", "San"] 164s 164s Hamster::list#span 164s is lazy 164s given a predicate (in the form of a block), splits the list into two lists 164s (returned as an array) such that elements in the first list (the prefix) are 164s taken from the head of the list while the predicate is satisfied, and elements 164s in the second list (the remainder) are the remaining elements from the list 164s once the predicate is not satisfied. For example: 164s given the list [] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [] 164s returns the remainder as [] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [1] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [1] 164s returns the remainder as [] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [1, 2] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [1, 2] 164s returns the remainder as [] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [1, 2, 3] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [1, 2] 164s returns the remainder as [3] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [1, 2, 3, 4] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [1, 2] 164s returns the remainder as [3, 4] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [2, 3, 4] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [2] 164s returns the remainder as [3, 4] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [3, 4] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [] 164s returns the remainder as [3, 4] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s given the list [4] 164s and a predicate that returns true for values <= 2 164s preserves the original 164s returns the prefix as [] 164s returns the remainder as [4] 164s calls the block only once for each element 164s without a predicate 164s returns a frozen array 164s returns self as the prefix 164s returns an empty list as the remainder 164s 164s Hamster::List 164s #split_at 164s is lazy 164s on [] 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s on [1] 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s on [1, 2] 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s on [1, 2, 3] 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s on [1, 2, 3, 4] 164s preserves the original 164s returns a frozen array with two items 164s correctly identifies the matches 164s correctly identifies the remainder 164s 164s Hamster::List 164s #subsequences 164s yields all sublists with 1 or more consecutive items 164s with no block 164s returns an Enumerator 164s 164s Hamster::List 164s #sum 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns 0 164s on [2] 164s returns 2 164s on [1, 3, 5, 7, 11] 164s returns 27 164s 164s Hamster::List 164s #tail 164s on a really big list 164s doesn't run out of stack 164s on [] 164s preserves the original 164s returns [] 164s on ["A"] 164s preserves the original 164s returns [] 164s on ["A", "B", "C"] 164s preserves the original 164s returns ["B", "C"] 164s 164s Hamster::List 164s #tails 164s is lazy 164s on [] 164s preserves the original 164s returns [] 164s on ["A"] 164s preserves the original 164s returns [Hamster::List["A"]] 164s on ["A", "B", "C"] 164s preserves the original 164s returns [Hamster::List["A", "B", "C"], Hamster::List["B", "C"], Hamster::List["C"]] 164s 164s Hamster::List 164s #take 164s is lazy 164s 10 from [] 164s preserves the original 164s returns [] 164s 10 from ["A"] 164s preserves the original 164s returns ["A"] 164s -1 from ["A"] 164s preserves the original 164s returns [] 164s 0 from ["A", "B", "C"] 164s preserves the original 164s returns [] 164s 2 from ["A", "B", "C"] 164s preserves the original 164s returns ["A", "B"] 164s 164s Hamster::List 164s #take_while 164s is lazy 164s on [] 164s with a block 164s returns [] 164s preserves the original 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns ["A"] 164s preserves the original 164s is lazy 164s without a block 164s returns an Enumerator 164s on ["A", "B", "C"] 164s with a block 164s returns ["A", "B"] 164s preserves the original 164s is lazy 164s without a block 164s returns an Enumerator 164s 164s Hamster::List 164s #to_a 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns [] 164s leaves the original unchanged 164s returns a mutable array 164s on ["A"] 164s returns ["A"] 164s leaves the original unchanged 164s returns a mutable array 164s on ["A", "B", "C"] 164s returns ["A", "B", "C"] 164s leaves the original unchanged 164s returns a mutable array 164s #entries 164s on a really big list 164s doesn't run out of stack 164s on [] 164s returns [] 164s leaves the original unchanged 164s returns a mutable array 164s on ["A"] 164s returns ["A"] 164s leaves the original unchanged 164s returns a mutable array 164s on ["A", "B", "C"] 164s returns ["A", "B", "C"] 164s leaves the original unchanged 164s returns a mutable array 164s 164s Hamster::List 164s #to_ary 164s on a really big list 164s doesn't run out of stack 164s enables implicit conversion to 164s block parameters 164s method arguments 164s works with splat 164s 164s Hamster::List 164s #to_list 164s on [] 164s returns self 164s on ["A"] 164s returns self 164s on ["A", "B", "C"] 164s returns self 164s 164s Hamster::List 164s #to_set 164s on [] 164s returns a set with the same values 164s on ["A"] 164s returns a set with the same values 164s on ["A", "B", "C"] 164s returns a set with the same values 164s 164s Hamster::List 164s #transpose 164s takes a list of lists and returns a list of all the first elements, all the 2nd elements, and so on 164s only goes as far as the shortest list 164s 164s Hamster::List 164s #union 164s is lazy 164s returns [] 164s for [] and [] 164s for [] and [] 164s returns ["A"] 164s for ["A"] and [] 164s for [] and ["A"] 164s returns ["A", "B", "C"] 164s for ["A", "B", "C"] and [] 164s for [] and ["A", "B", "C"] 164s returns ["A"] 164s for ["A", "A"] and ["A"] 164s for ["A"] and ["A", "A"] 164s #| 164s is lazy 164s returns [] 164s for [] and [] 164s for [] and [] 164s returns ["A"] 164s for ["A"] and [] 164s for [] and ["A"] 164s returns ["A", "B", "C"] 164s for ["A", "B", "C"] and [] 164s for [] and ["A", "B", "C"] 164s returns ["A"] 164s for ["A", "A"] and ["A"] 164s for ["A"] and ["A", "A"] 164s 164s Hamster::List 164s #uniq 164s is lazy 164s when passed a block 164s uses the block to identify duplicates 164s on [] 164s preserves the original 164s returns [] 164s on ["A"] 164s preserves the original 164s returns ["A"] 164s on ["A", "B", "C"] 164s preserves the original 164s returns ["A", "B", "C"] 164s on ["A", "B", "A", "C", "C"] 164s preserves the original 164s returns ["A", "B", "C"] 164s 164s Hamster::List 164s #zip 164s is lazy 164s on [] and [] 164s returns [] 164s on ["A"] and ["aye"] 164s returns [Hamster::List["A", "aye"]] 164s on ["A"] and [] 164s returns [Hamster::List["A", nil]] 164s on [] and ["A"] 164s returns [Hamster::List[nil, "A"]] 164s on ["A", "B", "C"] and ["aye", "bee", "see"] 164s returns [Hamster::List["A", "aye"], Hamster::List["B", "bee"], Hamster::List["C", "see"]] 164s 164s Hamster 164s .from 164s with {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} as input 164s should return Hamster::Hash["a" => 1, "d" => Hamster::Set[5, 7, 6], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4], "h" => /ijk/, "e" => Hamster::Hash["g" => 9, "f" => 8]] 164s with {} as input 164s should return Hamster::Hash[] 164s with {"a"=>1, "b"=>2, "c"=>3} as input 164s should return Hamster::Hash["a" => 1, "b" => 2, "c" => 3] 164s with [] as input 164s should return Hamster::Vector[] 164s with [1, 2, 3] as input 164s should return Hamster::Vector[1, 2, 3] 164s with # as input 164s should return Hamster::Set[] 164s with # as input 164s should return Hamster::Set[1, 2, 3] 164s with 42 as input 164s should return 42 164s with #> as input 164s should return #> 164s with # as input 164s should return Hamster::Hash[:name => nil, :address => nil] 164s with # as input 164s should return Hamster::Hash[:name => "Dave", :address => "123 Main"] 164s with mixed object 164s should return Hamster data 164s .to_ruby 164s with Hamster::Hash["a" => 1, "d" => Hamster::Set[5, 7, 6], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4], "h" => /ijk/, "e" => Hamster::Hash["g" => 9, "f" => 8]] as input 164s should return {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} (PENDING: Temporarily skipped with xit) 164s with Hamster::Hash[] as input 164s should return {} (PENDING: Temporarily skipped with xit) 164s with Hamster::Hash["a" => 1, "b" => 2, "c" => 3] as input 164s should return {"a"=>1, "b"=>2, "c"=>3} (PENDING: Temporarily skipped with xit) 164s with Hamster::Vector[] as input 164s should return [] (PENDING: Temporarily skipped with xit) 164s with Hamster::Vector[1, 2, 3] as input 164s should return [1, 2, 3] (PENDING: Temporarily skipped with xit) 164s with Hamster::Set[] as input 164s should return # (PENDING: Temporarily skipped with xit) 164s with Hamster::Set[1, 2, 3] as input 164s should return # (PENDING: Temporarily skipped with xit) 164s with 42 as input 164s should return 42 (PENDING: Temporarily skipped with xit) 164s with #> as input 164s should return #> (PENDING: Temporarily skipped with xit) 164s with Hamster::Deque[] as input 164s should return [] 164s with Hamster::Deque[Hamster::Hash["a" => 1]] as input 164s should return [{"a" => 1}] 164s with Hamster::SortedSet[] as input 164s should return ::SortedSet.new 164s with Hamster::SortedSet[1, 2, 3] as input 164s should return ::SortedSet.new 164s with mixed object 164s should return Ruby data structures 164s 164s Hamster::Set 164s #add 164s can add nil to a set 164s works on large sets, with many combinations of input 164s with a unique value 164s preserves the original 164s returns a copy with the superset of values 164s with a duplicate value 164s preserves the original values 164s returns self 164s #<< 164s can add nil to a set 164s works on large sets, with many combinations of input 164s with a unique value 164s preserves the original 164s returns a copy with the superset of values 164s with a duplicate value 164s preserves the original values 164s returns self 164s #add? 164s with a unique value 164s preserves the original 164s returns a copy with the superset of values 164s with a duplicate value 164s preserves the original values 164s returns false 164s 164s Hamster::Set 164s #all? 164s when empty 164s with a block returns true 164s with no block returns true 164s when not empty 164s with a block 164s returns true if the block always returns true 164s returns false if the block ever returns false 164s propagates an exception from the block 164s stops iterating as soon as the block returns false 164s with no block 164s returns true if all values are truthy 164s returns false if any value is nil 164s returns false if any value is false 164s 164s Hamster::Set 164s #any? 164s when empty 164s with a block returns false 164s with no block returns false 164s when not empty 164s with a block 164s returns true if the block ever returns true ("A") 164s returns true if the block ever returns true ("B") 164s returns true if the block ever returns true ("C") 164s returns true if the block ever returns true (nil) 164s returns false if the block always returns false 164s propagates exceptions raised in the block 164s stops iterating as soon as the block returns true 164s with no block 164s returns true if any value is truthy 164s returns false if all values are falsey 164s 164s Hamster::Set 164s #clear 164s on [] 164s preserves the original 164s returns an empty set 164s on ["A"] 164s preserves the original 164s returns an empty set 164s on ["A", "B", "C"] 164s preserves the original 164s returns an empty set 164s from a subclass 164s returns an empty instance of the subclass 164s 164s Hamster::Set 164s #compact 164s on [] 164s preserves the original 164s returns [] 164s on ["A"] 164s preserves the original 164s returns ["A"] 164s on ["A", "B", "C"] 164s preserves the original 164s returns ["A", "B", "C"] 164s on [nil] 164s preserves the original 164s returns [] 164s on [nil, "B"] 164s preserves the original 164s returns ["B"] 164s on ["A", nil] 164s preserves the original 164s returns ["A"] 164s on [nil, nil] 164s preserves the original 164s returns [] 164s on ["A", nil, "C"] 164s preserves the original 164s returns ["A", "C"] 164s on [nil, "B", nil] 164s preserves the original 164s returns ["B"] 164s 164s Hamster::Set 164s .set 164s with no values 164s returns the empty set 164s with a list of values 164s is equivalent to repeatedly using #add 164s 164s Hamster::Set 164s #dup 164s returns self 164s #clone 164s returns self 164s 164s Hamster::Set 164s #count 164s works on large sets 164s on [] 164s with a block 164s returns 0 164s without a block 164s returns length 164s on [1] 164s with a block 164s returns 1 164s without a block 164s returns length 164s on [1, 2] 164s with a block 164s returns 1 164s without a block 164s returns length 164s on [1, 2, 3] 164s with a block 164s returns 2 164s without a block 164s returns length 164s on [1, 2, 3, 4] 164s with a block 164s returns 2 164s without a block 164s returns length 164s on [1, 2, 3, 4, 5] 164s with a block 164s returns 3 164s without a block 164s returns length 164s 164s Hamster::Set 164s #delete 164s works on large sets, with many combinations of input 164s with an existing value 164s preserves the original 164s returns a copy with the remaining values 164s with a non-existing value 164s preserves the original values 164s returns self 164s when removing the last value in a set 164s returns the canonical empty set 164s #delete? 164s with an existing value 164s preserves the original 164s returns a copy with the remaining values 164s with a non-existing value 164s preserves the original values 164s returns false 164s 164s Hamster::Set 164s #difference 164s works on a wide variety of inputs 164s for [] and [] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s doesn't modify the original Sets 164s returns ["A"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s doesn't modify the original Sets 164s returns ["A", "C"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["A", "C"] 164s doesn't modify the original Sets 164s returns ["B"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 164s doesn't modify the original Sets 164s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 164s doesn't modify the original Sets 164s returns ["A", "M", "Y", "Z"] 164s when passed a Ruby Array 164s returns the expected Set 164s #subtract 164s works on a wide variety of inputs 164s for [] and [] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s doesn't modify the original Sets 164s returns ["A"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s doesn't modify the original Sets 164s returns ["A", "C"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["A", "C"] 164s doesn't modify the original Sets 164s returns ["B"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 164s doesn't modify the original Sets 164s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 164s doesn't modify the original Sets 164s returns ["A", "M", "Y", "Z"] 164s when passed a Ruby Array 164s returns the expected Set 164s #- 164s works on a wide variety of inputs 164s for [] and [] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s doesn't modify the original Sets 164s returns ["A"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s doesn't modify the original Sets 164s returns ["A", "C"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["A", "C"] 164s doesn't modify the original Sets 164s returns ["B"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "D", "E", "F", "G", "H"] and [] 164s doesn't modify the original Sets 164s returns ["A", "B", "C", "D", "E", "F", "G", "H"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C", "M", "X", "Y", "Z"] and ["B", "C", "D", "E", "F", "G", "H", "I", "J", "X"] 164s doesn't modify the original Sets 164s returns ["A", "M", "Y", "Z"] 164s when passed a Ruby Array 164s returns the expected Set 164s 164s Hamster::Set 164s #disjoint? 164s for [] and [] 164s returns true 164s for ["A"] and [] 164s returns true 164s for [] and ["A"] 164s returns true 164s for ["A"] and ["A"] 164s returns false 164s for ["A", "B", "C"] and ["B"] 164s returns false 164s for ["B"] and ["A", "B", "C"] 164s returns false 164s for ["A", "B", "C"] and ["D", "E"] 164s returns true 164s for ["F", "G", "H", "I"] and ["A", "B", "C"] 164s returns true 164s for ["A", "B", "C"] and ["A", "B", "C"] 164s returns false 164s for ["A", "B", "C"] and ["A", "B", "C", "D"] 164s returns false 164s for ["D", "E", "F", "G"] and ["A", "B", "C"] 164s returns true 164s 164s Hamster::Set 164s #each 164s yields both of a pair of colliding keys 164s without a block 164s returns an Enumerator 164s with an empty block 164s returns self 164s with a block 164s yields all values 164s 164s Hamster::Set 164s #empty? 164s on [] 164s returns true 164s on ["A"] 164s returns false 164s on ["A", "B", "C"] 164s returns false 164s on [nil] 164s returns false 164s on [false] 164s returns false 164s .empty 164s returns the canonical empty set 164s from a subclass 164s returns an empty instance of the subclass 164s calls overridden #initialize when creating empty Set 164s 164s Hamster::Set 164s #== 164s when comparing to a standard set 164s returns false 164s when comparing to a arbitrary object 164s returns false 164s with an empty set for each comparison 164s returns true 164s with an empty set and a set with nil 164s returns false 164s with a single item array and empty array 164s returns false 164s with matching single item array 164s returns true 164s with mismatching single item array 164s returns false 164s with a multi-item array and single item array 164s returns false 164s with matching multi-item array 164s returns true 164s with a mismatching multi-item array 164s returns true 164s 164s Hamster::Set 164s #eql? 164s when comparing to a standard set 164s returns false 164s when comparing to a arbitrary object 164s returns false 164s when comparing with a subclass of Hamster::Set 164s returns false 164s with an empty set for each comparison 164s returns true 164s with an empty set and a set with nil 164s returns false 164s with a single item array and empty array 164s returns false 164s with matching single item array 164s returns true 164s with mismatching single item array 164s returns false 164s with a multi-item array and single item array 164s returns false 164s with matching multi-item array 164s returns true 164s with a mismatching multi-item array 164s returns true 164s 164s Hamster::Set 164s #exclusion 164s works for a wide variety of inputs 164s for [] and [] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s doesn't modify the original Sets 164s returns ["A"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s doesn't modify the original Sets 164s returns ["A", "C"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B", "C", "D"] 164s doesn't modify the original Sets 164s returns ["A", "D"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["D", "E", "F"] 164s doesn't modify the original Sets 164s returns ["A", "B", "C", "D", "E", "F"] 164s when passed a Ruby Array 164s returns the expected Set 164s #^ 164s works for a wide variety of inputs 164s for [] and [] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s doesn't modify the original Sets 164s returns ["A"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s doesn't modify the original Sets 164s returns [] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s doesn't modify the original Sets 164s returns ["A", "C"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B", "C", "D"] 164s doesn't modify the original Sets 164s returns ["A", "D"] 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["D", "E", "F"] 164s doesn't modify the original Sets 164s returns ["A", "B", "C", "D", "E", "F"] 164s when passed a Ruby Array 164s returns the expected Set 164s 164s Hamster::Set 164s #find 164s on [] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on [] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns "A" 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns "A" 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns "B" 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s #detect 164s on [] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on [] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns "A" 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A"] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns "A" 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns "B" 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s on ["A", "B", nil] 164s with a block 164s returns nil 164s without a block 164s returns an Enumerator 164s 164s Hamster::Set 164s #first 164s returns nil if only member of set is nil 164s returns the first item yielded by #each 164s on an empty set 164s returns nil 164s on a non-empty set 164s returns an arbitrary value from the set 164s 164s Hamster 164s #flatten 164s on ["A"] 164s preserves the original 164s returns the inlined values 164s on ["A", "B", "C"] 164s preserves the original 164s returns the inlined values 164s on ["A", Hamster::Set["B"], "C"] 164s preserves the original 164s returns the inlined values 164s on [Hamster::Set["A"], Hamster::Set["B"], Hamster::Set["C"]] 164s preserves the original 164s returns the inlined values 164s on an empty set 164s returns an empty set 164s on a set with multiple levels of nesting 164s inlines lower levels of nesting 164s from a subclass 164s returns an instance of the subclass 164s 164s Hamster::Set 164s #grep 164s without a block 164s with an empty set 164s returns the filtered values 164s with a single item set 164s returns the filtered values 164s with a single item set that doesn't contain match 164s returns the filtered values 164s with a multi-item set where one isn't a match 164s returns the filtered values 164s with a block 164s processes each matching item with the block 164s returns the filtered values 164s 164s Hamster::Set 164s #grep_v 164s without a block 164s with an empty set 164s returns the filtered values 164s with a single item set 164s returns the filtered values 164s with a single item set that doesn't contain match 164s returns the filtered values 164s with a multi-item set where one isn't a match 164s returns the filtered values 164s with a block 164s resulting items are processed with the block 164s returns the filtered values 164s 164s Hamster::Set 164s #group_by 164s returns a hash without default proc 164s with a block 164s on [] 164s returns [] 164s on [1] 164s returns [{true=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[2, 4]}] 164s without a block 164s on [] 164s returns [] 164s on [1] 164s returns [{1=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 164s on an empty set 164s returns an empty hash 164s from a subclass 164s returns an Hash whose values are instances of the subclass 164s #group 164s returns a hash without default proc 164s with a block 164s on [] 164s returns [] 164s on [1] 164s returns [{true=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[2, 4]}] 164s without a block 164s on [] 164s returns [] 164s on [1] 164s returns [{1=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 164s on an empty set 164s returns an empty hash 164s from a subclass 164s returns an Hash whose values are instances of the subclass 164s #classify 164s returns a hash without default proc 164s with a block 164s on [] 164s returns [] 164s on [1] 164s returns [{true=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{true=>Hamster::Set[1, 3], false=>Hamster::Set[2, 4]}] 164s without a block 164s on [] 164s returns [] 164s on [1] 164s returns [{1=>Hamster::Set[1]}] 164s on [1, 2, 3, 4] 164s returns [{1=>Hamster::Set[1], 2=>Hamster::Set[2], 3=>Hamster::Set[3], 4=>Hamster::Set[4]}] 164s on an empty set 164s returns an empty hash 164s from a subclass 164s returns an Hash whose values are instances of the subclass 164s 164s Hamster::Set 164s #hash 164s generates the same hash value for a set regardless of the order things were added to it 164s values are sufficiently distributed 164s on an empty set 164s returns 0 164s 164s Hamster::Set 164s includes Immutable 164s 164s Hamster::Set 164s #include? 164s returns true for an existing value ("A") 164s returns true for an existing value ("B") 164s returns true for an existing value ("C") 164s returns true for an existing value (2.0) 164s returns true for an existing value (nil) 164s returns false for a non-existing value 164s returns true even if existing value is nil 164s returns true even if existing value is false 164s returns false for a mutable item which is mutated after adding 164s uses #eql? for equality 164s returns the right answers after a lot of addings and removings 164s #member? 164s returns true for an existing value ("A") 164s returns true for an existing value ("B") 164s returns true for an existing value ("C") 164s returns true for an existing value (2.0) 164s returns true for an existing value (nil) 164s returns false for a non-existing value 164s returns true even if existing value is nil 164s returns true even if existing value is false 164s returns false for a mutable item which is mutated after adding 164s uses #eql? for equality 164s returns the right answers after a lot of addings and removings 164s 164s Hamster::Set 164s #inspect 164s on [] 164s returns "Hamster::Set[]" 164s returns a string which can be eval'd to get an equivalent set 164s on ["A"] 164s returns "Hamster::Set[\"A\"]" 164s returns a string which can be eval'd to get an equivalent set 164s on ["A", "B", "C"] 164s returns a programmer-readable representation of the set contents 164s returns a string which can be eval'd to get an equivalent set 164s from a subclass 164s returns a programmer-readable representation of the set contents 164s returns a string which can be eval'd to get an equivalent set 164s 164s Hamster::Set 164s #intersect? 164s for [] and [] 164s returns false 164s for ["A"] and [] 164s returns false 164s for [] and ["A"] 164s returns false 164s for ["A"] and ["A"] 164s returns true 164s for ["A", "B", "C"] and ["B"] 164s returns true 164s for ["B"] and ["A", "B", "C"] 164s returns true 164s for ["A", "B", "C"] and ["D", "E"] 164s returns false 164s for ["F", "G", "H", "I"] and ["A", "B", "C"] 164s returns false 164s for ["A", "B", "C"] and ["A", "B", "C"] 164s returns true 164s for ["A", "B", "C"] and ["A", "B", "C", "D"] 164s returns true 164s for ["D", "E", "F", "G"] and ["A", "B", "C"] 164s returns false 164s 164s Hamster::Set 164s #intersection 164s returns results consistent with Array#& 164s for [] and [] 164s returns [], without changing the original Sets 164s for [] and [] 164s returns [], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s returns [], without changing the original Sets 164s for [] and ["A"] 164s returns [], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s returns ["A"], without changing the original Sets 164s for ["A"] and ["A"] 164s returns ["A"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s returns ["B"], without changing the original Sets 164s for ["B"] and ["A", "B", "C"] 164s returns ["B"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["A", "C"] 164s returns ["A", "C"], without changing the original Sets 164s for ["A", "C"] and ["A", "B", "C"] 164s returns ["A", "C"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s #& 164s returns results consistent with Array#& 164s for [] and [] 164s returns [], without changing the original Sets 164s for [] and [] 164s returns [], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and [] 164s returns [], without changing the original Sets 164s for [] and ["A"] 164s returns [], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A"] and ["A"] 164s returns ["A"], without changing the original Sets 164s for ["A"] and ["A"] 164s returns ["A"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["B"] 164s returns ["B"], without changing the original Sets 164s for ["B"] and ["A", "B", "C"] 164s returns ["B"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s for ["A", "B", "C"] and ["A", "C"] 164s returns ["A", "C"], without changing the original Sets 164s for ["A", "C"] and ["A", "B", "C"] 164s returns ["A", "C"], without changing the original Sets 164s when passed a Ruby Array 164s returns the expected Set 164s 164s Hamster::Set 164s #join 164s with a separator 164s on [] 164s preserves the original 164s returns "" 164s on ["A"] 164s preserves the original 164s returns "A" 164s on ["A", "B", "C"] 164s preserves the original 164s returns "A|B|C" 164s without a separator 164s on [] 164s preserves the original 164s returns "" 164s on ["A"] 164s preserves the original 164s returns "A" 164s on ["A", "B", "C"] 164s preserves the original 164s returns "ABC" 164s without a separator (with global default separator set) 164s on ['A', 'B', 'C'] 164s preserves the original 164s returns nil 164s 164s Hamster::Set 164s #map 164s works on large sets 164s when empty 164s returns self 164s when not empty 164s with a block 164s preserves the original values 164s returns a new set with the mapped values 164s with no block 164s returns an Enumerator 164s from a subclass 164s returns an instance of the subclass 164s when multiple items map to the same value 164s filters out the duplicates 164s #collect 164s works on large sets 164s when empty 164s returns self 164s when not empty 164s with a block 164s preserves the original values 164s returns a new set with the mapped values 164s with no block 164s returns an Enumerator 164s from a subclass 164s returns an instance of the subclass 164s when multiple items map to the same value 164s filters out the duplicates 164s 164s Hamster::Set 164s #marshal_dump/#marshal_load 165s can survive dumping and loading into a new process 165s is still possible to test items by key after loading 165s 165s Hamster::Set 165s #max 165s with a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "Ichi" 165s without a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "San" 165s 165s Hamster::Set 165s #min 165s with a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "Ni" 165s without a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "Ichi" 165s 165s Hamster::Set 165s .new 165s initializes a new set 165s accepts a Range 165s returns a Set which doesn't change even if the initializer is mutated 165s is amenable to overriding of #initialize 165s from a subclass 165s returns a frozen instance of the subclass 165s [] 165s accepts any number of arguments and initializes a new set 165s 165s Hamster::Set 165s #none? 165s when empty 165s with a block returns true 165s with no block returns true 165s when not empty 165s with a block 165s returns false if the block ever returns true ("A") 165s returns false if the block ever returns true ("B") 165s returns false if the block ever returns true ("C") 165s returns false if the block ever returns true (nil) 165s returns true if the block always returns false 165s stops iterating as soon as the block returns true 165s with no block 165s returns false if any value is truthy 165s returns true if all values are falsey 165s 165s Hamster::Set 165s #one? 165s when empty 165s with a block returns false 165s with no block returns false 165s when not empty 165s with a block 165s returns false if the block returns true more than once 165s returns false if the block never returns true 165s returns true if the block only returns true once 165s with no block 165s returns false if more than one value is truthy 165s returns true if only one value is truthy 165s returns false if no values are truthy 165s 165s Hamster::Set 165s #partition 165s on [] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [1] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [1, 2] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [1, 2, 3] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [1, 2, 3, 4] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [2, 3, 4] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [3, 4] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s on [4] 165s with a block 165s preserves the original 165s returns a frozen array with two items 165s correctly identifies the matches 165s correctly identifies the remainder 165s without a block 165s returns an Enumerator 165s 165s Hamster::Set 165s #product 165s on [] 165s returns 1 165s doesn't change the original Set 165s on [2] 165s returns 2 165s doesn't change the original Set 165s on [1, 3, 5, 7, 11] 165s returns 1155 165s doesn't change the original Set 165s 165s Hamster::Set 165s #reduce 165s on [] 165s with an initial value of 10 165s and a block 165s returns 10 165s on [1] 165s with an initial value of 10 165s and a block 165s returns 9 165s on [1, 2, 3] 165s with an initial value of 10 165s and a block 165s returns 4 165s on [] 165s with no initial value 165s and a block 165s returns nil 165s on [1] 165s with no initial value 165s and a block 165s returns 1 165s on [1, 2, 3] 165s with no initial value 165s and a block 165s returns 6 165s with no block and a symbol argument 165s uses the symbol as the name of a method to reduce with 165s with no block and a string argument 165s uses the string as the name of a method to reduce with 165s #inject 165s on [] 165s with an initial value of 10 165s and a block 165s returns 10 165s on [1] 165s with an initial value of 10 165s and a block 165s returns 9 165s on [1, 2, 3] 165s with an initial value of 10 165s and a block 165s returns 4 165s on [] 165s with no initial value 165s and a block 165s returns nil 165s on [1] 165s with no initial value 165s and a block 165s returns 1 165s on [1, 2, 3] 165s with no initial value 165s and a block 165s returns 6 165s with no block and a symbol argument 165s uses the symbol as the name of a method to reduce with 165s with no block and a string argument 165s uses the string as the name of a method to reduce with 165s 165s Hamster::Set 165s #reject 165s when nothing matches 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns self 165s on a large set, with many combinations of input 165s still works 165s #delete_if 165s when nothing matches 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns self 165s on a large set, with many combinations of input 165s still works 165s 165s Hamster::Set 165s #reverse_each 165s without a block 165s returns an Enumerator 165s with an empty block 165s returns self 165s with a block 165s yields all values 165s 165s Hamster::Set 165s #sample 165s returns a randomly chosen item 165s 165s Hamster::Set 165s #select 165s works on a large set, with many combinations of input 165s when everything matches 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns an Enumerator 165s when nothing matches 165s preserves the original 165s returns the canonical empty set 165s from a subclass 165s returns an instance of the same class 165s #find_all 165s works on a large set, with many combinations of input 165s when everything matches 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns an Enumerator 165s when nothing matches 165s preserves the original 165s returns the canonical empty set 165s from a subclass 165s returns an instance of the same class 165s 165s Hamster::Set 165s #size 165s returns 0 for [] 165s returns 1 for ["A"] 165s returns 3 for ["A", "B", "C"] 165s #length 165s returns 0 for [] 165s returns 1 for ["A"] 165s returns 3 for ["A", "B", "C"] 165s 165s Hamster::Set 165s #sort 165s on [] 165s with a block 165s returns [] 165s doesn't change the original Set 165s without a block 165s returns [] 165s doesn't change the original Set 165s on ["A"] 165s with a block 165s returns ["A"] 165s doesn't change the original Set 165s without a block 165s returns ["A"] 165s doesn't change the original Set 165s on ["Ichi", "Ni", "San"] 165s with a block 165s returns ["Ni", "San", "Ichi"] 165s doesn't change the original Set 165s without a block 165s returns ["Ichi", "Ni", "San"] 165s doesn't change the original Set 165s #sort_by 165s on [] 165s with a block 165s returns [] 165s doesn't change the original Set 165s without a block 165s returns [] 165s doesn't change the original Set 165s on ["A"] 165s with a block 165s returns ["A"] 165s doesn't change the original Set 165s without a block 165s returns ["A"] 165s doesn't change the original Set 165s on ["Ichi", "Ni", "San"] 165s with a block 165s returns ["Ni", "San", "Ichi"] 165s doesn't change the original Set 165s without a block 165s returns ["Ichi", "Ni", "San"] 165s doesn't change the original Set 165s #sort_by 165s only calls the passed block once for each item 165s 165s Hamster::Set 165s #subset? 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s #<= 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s #proper_subset? 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s #< 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s 165s Hamster::Set 165s #sum 165s on [] 165s returns 0 165s doesn't change the original Set 165s on [2] 165s returns 2 165s doesn't change the original Set 165s on [1, 3, 5, 7, 11] 165s returns 27 165s doesn't change the original Set 165s 165s Hamster::Set 165s #superset? 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s #>= 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s #proper_superset? 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s #> 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s 165s Hamster::Set 165s #to_a 165s on 'a'..'a' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'b' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'c' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'d' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'e' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'f' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'g' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'h' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'i' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'j' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'k' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'l' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'m' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'n' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'o' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'p' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'q' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'r' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'s' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'t' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'u' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'v' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'w' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'x' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'y' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'z' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s #entries 165s on 'a'..'a' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'b' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'c' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'d' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'e' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'f' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'g' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'h' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'i' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'j' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'k' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'l' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'m' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'n' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'o' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'p' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'q' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'r' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'s' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'t' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'u' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'v' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'w' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'x' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'y' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s on 'a'..'z' 165s returns an equivalent array 165s doesn't change the original Set 165s returns a mutable array 165s 165s Hamster::Set 165s #to_list 165s on [] 165s returns a list 165s doesn't change the original Set 165s the returned list 165s has the correct length 165s contains all values 165s on ["A"] 165s returns a list 165s doesn't change the original Set 165s the returned list 165s has the correct length 165s contains all values 165s on ["A", "B", "C"] 165s returns a list 165s doesn't change the original Set 165s the returned list 165s has the correct length 165s contains all values 165s 165s Hamster::Set 165s #to_set 165s on [] 165s returns self 165s on ["A"] 165s returns self 165s on ["A", "B", "C"] 165s returns self 165s 165s Hamster::Set 165s #union 165s for [] and [] 165s returns [], without changing the original Sets 165s for [] and [] 165s returns [], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"], without changing the original Sets 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["X", "Y", "Z"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s for ["X", "Y", "Z"] and ["A", "B", "C"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s when receiving a subset 165s returns self 165s #| 165s for [] and [] 165s returns [], without changing the original Sets 165s for [] and [] 165s returns [], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"], without changing the original Sets 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["X", "Y", "Z"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s for ["X", "Y", "Z"] and ["A", "B", "C"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s when receiving a subset 165s returns self 165s #+ 165s for [] and [] 165s returns [], without changing the original Sets 165s for [] and [] 165s returns [], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"], without changing the original Sets 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["X", "Y", "Z"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s for ["X", "Y", "Z"] and ["A", "B", "C"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s when receiving a subset 165s returns self 165s #merge 165s for [] and [] 165s returns [], without changing the original Sets 165s for [] and [] 165s returns [], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and ["A"] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for [] and ["A"] 165s returns ["A"], without changing the original Sets 165s for ["A"] and [] 165s returns ["A"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"], without changing the original Sets 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns ["A", "B", "C"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s for ["A", "B", "C"] and ["X", "Y", "Z"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s for ["X", "Y", "Z"] and ["A", "B", "C"] 165s returns ["A", "B", "C", "X", "Y", "Z"], without changing the original Sets 165s when passed a Ruby Array 165s returns the expected Set 165s from a subclass 165s returns an instance of the subclass 165s when receiving a subset 165s returns self 165s 165s Hamster::SortedSet 165s #above 165s when called without a block 165s returns a sorted set of all items higher than the argument 165s when called with a block 165s yields all the items higher than the argument 165s on an empty set 165s returns an empty set 165s with an argument higher than all the values in the set 165s returns an empty set 165s 165s Hamster::SortedSet 165s #add 165s with a unique value 165s preserves the original 165s returns a copy with the superset of values (in order) 165s with a duplicate value 165s preserves the original values 165s returns self 165s on a set ordered by a comparator 165s inserts the new item in the correct place 165s #<< 165s with a unique value 165s preserves the original 165s returns a copy with the superset of values (in order) 165s with a duplicate value 165s preserves the original values 165s returns self 165s on a set ordered by a comparator 165s inserts the new item in the correct place 165s #add? 165s with a unique value 165s preserves the original 165s returns a copy with the superset of values 165s with a duplicate value 165s preserves the original values 165s returns false 165s 165s Hamster::SortedSet 165s #at 165s [] with 10 165s returns nil 165s ["A"] with 10 165s returns nil 165s ["A", "B", "C"] with 0 165s returns "A" 165s ["A", "B", "C"] with 1 165s returns "B" 165s ["A", "B", "C"] with 2 165s returns "C" 165s ["A", "B", "C"] with 3 165s returns nil 165s ["A", "B", "C"] with -1 165s returns "C" 165s ["A", "B", "C"] with -2 165s returns "B" 165s ["A", "B", "C"] with -3 165s returns "A" 165s ["A", "B", "C"] with -4 165s returns nil 165s 165s Hamster::SortedSet 165s #below 165s when called without a block 165s returns a sorted set of all items lower than the argument 165s when called with a block 165s yields all the items lower than the argument 165s on an empty set 165s returns an empty set 165s with an argument lower than all the values in the set 165s returns an empty set 165s 165s Hamster::SortedSet 165s #between 165s when called without a block 165s returns a sorted set of all items from the first argument to the second 165s when called with a block 165s yields all the items lower than the argument 165s on an empty set 165s returns an empty set 165s with a 'to' argument lower than the 'from' argument 165s returns an empty set 165s 165s Hamster::SortedSet 165s #clear 165s on [] 165s preserves the original 165s returns an empty set 165s on ["A"] 165s preserves the original 165s returns an empty set 165s on ["A", "B", "C"] 165s preserves the original 165s returns an empty set 165s from a subclass 165s returns an empty instance of the subclass 165s with a comparator 165s returns an empty instance with same comparator 165s 165s Hamster::SortedSet 165s on [] 165s returns self 165s on ["A"] 165s returns self 165s on ["A", "B", "C"] 165s returns self 165s on 1..32 165s returns self 165s on [] 165s returns self 165s on ["A"] 165s returns self 165s on ["A", "B", "C"] 165s returns self 165s on 1..32 165s returns self 165s 165s Hamster::SortedSet 165s #delete_at 165s removes the element at the specified index 165s makes no modification if the index is out of range 165s 165s Hamster::SortedSet 165s #delete 165s on an empty set 165s returns an empty set 165s with an existing value 165s preserves the original 165s returns a copy with the remaining of values 165s with a non-existing value 165s preserves the original values 165s returns self 165s when removing the last value in a sorted set 165s maintains the set order 165s when the set is in natural order 165s returns the canonical empty set 165s on [1, 2, 3], when deleting [1, 2, 3] 165s returns [] 165s on [1, 2, 3, 4], when deleting [1, 2, 3] 165s returns [4] 165s on [1, 2, 3, 4], when deleting [1, 2, 4] 165s returns [3] 165s on [1, 2, 3, 4], when deleting [1, 3, 4] 165s returns [2] 165s on [1, 2, 3, 4], when deleting [2, 3, 4] 165s returns [1] 165s on [1, 2, 3, 4, 5], when deleting [1, 2, 3] 165s returns [4, 5] 165s on [1, 2, 3, 4, 5], when deleting [1, 2, 4] 165s returns [3, 5] 165s on [1, 2, 3, 4, 5], when deleting [1, 2, 5] 165s returns [3, 4] 165s on [1, 2, 3, 4, 5], when deleting [1, 3, 4] 165s returns [2, 5] 165s on [1, 2, 3, 4, 5], when deleting [1, 3, 5] 165s returns [2, 4] 165s on [1, 2, 3, 4, 5], when deleting [1, 4, 5] 165s returns [2, 3] 165s on [1, 2, 3, 4, 5], when deleting [2, 3, 4] 165s returns [1, 5] 165s on [1, 2, 3, 4, 5], when deleting [2, 3, 5] 165s returns [1, 4] 165s on [1, 2, 3, 4, 5], when deleting [2, 4, 5] 165s returns [1, 3] 165s on [1, 2, 3, 4, 5], when deleting [3, 4, 5] 165s returns [1, 2] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 3] 165s returns [4, 5, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 4] 165s returns [3, 5, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 5] 165s returns [3, 4, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 2, 6] 165s returns [3, 4, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 4] 165s returns [2, 5, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 5] 165s returns [2, 4, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 3, 6] 165s returns [2, 4, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 4, 5] 165s returns [2, 3, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 4, 6] 165s returns [2, 3, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [1, 5, 6] 165s returns [2, 3, 4] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 4] 165s returns [1, 5, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 5] 165s returns [1, 4, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 3, 6] 165s returns [1, 4, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 4, 5] 165s returns [1, 3, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 4, 6] 165s returns [1, 3, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [2, 5, 6] 165s returns [1, 3, 4] 165s on [1, 2, 3, 4, 5, 6], when deleting [3, 4, 5] 165s returns [1, 2, 6] 165s on [1, 2, 3, 4, 5, 6], when deleting [3, 4, 6] 165s returns [1, 2, 5] 165s on [1, 2, 3, 4, 5, 6], when deleting [3, 5, 6] 165s returns [1, 2, 4] 165s on [1, 2, 3, 4, 5, 6], when deleting [4, 5, 6] 165s returns [1, 2, 3] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 3] 165s returns [4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 4] 165s returns [3, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 5] 165s returns [3, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 6] 165s returns [3, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 2, 7] 165s returns [3, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 4] 165s returns [2, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 5] 165s returns [2, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 6] 165s returns [2, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 3, 7] 165s returns [2, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 5] 165s returns [2, 3, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 6] 165s returns [2, 3, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 4, 7] 165s returns [2, 3, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 5, 6] 165s returns [2, 3, 4, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 5, 7] 165s returns [2, 3, 4, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [1, 6, 7] 165s returns [2, 3, 4, 5] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 4] 165s returns [1, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 5] 165s returns [1, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 6] 165s returns [1, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 3, 7] 165s returns [1, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 5] 165s returns [1, 3, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 6] 165s returns [1, 3, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 4, 7] 165s returns [1, 3, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 5, 6] 165s returns [1, 3, 4, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 5, 7] 165s returns [1, 3, 4, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [2, 6, 7] 165s returns [1, 3, 4, 5] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 5] 165s returns [1, 2, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 6] 165s returns [1, 2, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 4, 7] 165s returns [1, 2, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 5, 6] 165s returns [1, 2, 4, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 5, 7] 165s returns [1, 2, 4, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [3, 6, 7] 165s returns [1, 2, 4, 5] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 5, 6] 165s returns [1, 2, 3, 7] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 5, 7] 165s returns [1, 2, 3, 6] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [4, 6, 7] 165s returns [1, 2, 3, 5] 165s on [1, 2, 3, 4, 5, 6, 7], when deleting [5, 6, 7] 165s returns [1, 2, 3, 4] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 3] 165s returns [4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 4] 165s returns [3, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 5] 165s returns [3, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 6] 165s returns [3, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 7] 165s returns [3, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 2, 8] 165s returns [3, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 4] 165s returns [2, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 5] 165s returns [2, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 6] 165s returns [2, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 7] 165s returns [2, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 3, 8] 165s returns [2, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 5] 165s returns [2, 3, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 6] 165s returns [2, 3, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 7] 165s returns [2, 3, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 4, 8] 165s returns [2, 3, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 6] 165s returns [2, 3, 4, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 7] 165s returns [2, 3, 4, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 5, 8] 165s returns [2, 3, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 6, 7] 165s returns [2, 3, 4, 5, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 6, 8] 165s returns [2, 3, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [1, 7, 8] 165s returns [2, 3, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 4] 165s returns [1, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 5] 165s returns [1, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 6] 165s returns [1, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 7] 165s returns [1, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 3, 8] 165s returns [1, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 5] 165s returns [1, 3, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 6] 165s returns [1, 3, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 7] 165s returns [1, 3, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 4, 8] 165s returns [1, 3, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 6] 165s returns [1, 3, 4, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 7] 165s returns [1, 3, 4, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 5, 8] 165s returns [1, 3, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 6, 7] 165s returns [1, 3, 4, 5, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 6, 8] 165s returns [1, 3, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [2, 7, 8] 165s returns [1, 3, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 5] 165s returns [1, 2, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 6] 165s returns [1, 2, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 7] 165s returns [1, 2, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 4, 8] 165s returns [1, 2, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 6] 165s returns [1, 2, 4, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 7] 165s returns [1, 2, 4, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 5, 8] 165s returns [1, 2, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 6, 7] 165s returns [1, 2, 4, 5, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 6, 8] 165s returns [1, 2, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [3, 7, 8] 165s returns [1, 2, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 6] 165s returns [1, 2, 3, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 7] 165s returns [1, 2, 3, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 5, 8] 165s returns [1, 2, 3, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 6, 7] 165s returns [1, 2, 3, 5, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 6, 8] 165s returns [1, 2, 3, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [4, 7, 8] 165s returns [1, 2, 3, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 6, 7] 165s returns [1, 2, 3, 4, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 6, 8] 165s returns [1, 2, 3, 4, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [5, 7, 8] 165s returns [1, 2, 3, 4, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8], when deleting [6, 7, 8] 165s returns [1, 2, 3, 4, 5] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 3] 165s returns [4, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 4] 165s returns [3, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 5] 165s returns [3, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 6] 165s returns [3, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 7] 165s returns [3, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 8] 165s returns [3, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 2, 9] 165s returns [3, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 4] 165s returns [2, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 5] 165s returns [2, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 6] 165s returns [2, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 7] 165s returns [2, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 8] 165s returns [2, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 3, 9] 165s returns [2, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 5] 165s returns [2, 3, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 6] 165s returns [2, 3, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 7] 165s returns [2, 3, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 8] 165s returns [2, 3, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 4, 9] 165s returns [2, 3, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 6] 165s returns [2, 3, 4, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 7] 165s returns [2, 3, 4, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 8] 165s returns [2, 3, 4, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 5, 9] 165s returns [2, 3, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 7] 165s returns [2, 3, 4, 5, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 8] 165s returns [2, 3, 4, 5, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 6, 9] 165s returns [2, 3, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 7, 8] 165s returns [2, 3, 4, 5, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 7, 9] 165s returns [2, 3, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [1, 8, 9] 165s returns [2, 3, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 4] 165s returns [1, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 5] 165s returns [1, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 6] 165s returns [1, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 7] 165s returns [1, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 8] 165s returns [1, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 3, 9] 165s returns [1, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 5] 165s returns [1, 3, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 6] 165s returns [1, 3, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 7] 165s returns [1, 3, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 8] 165s returns [1, 3, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 4, 9] 165s returns [1, 3, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 6] 165s returns [1, 3, 4, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 7] 165s returns [1, 3, 4, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 8] 165s returns [1, 3, 4, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 5, 9] 165s returns [1, 3, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 7] 165s returns [1, 3, 4, 5, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 8] 165s returns [1, 3, 4, 5, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 6, 9] 165s returns [1, 3, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 7, 8] 165s returns [1, 3, 4, 5, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 7, 9] 165s returns [1, 3, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [2, 8, 9] 165s returns [1, 3, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 5] 165s returns [1, 2, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 6] 165s returns [1, 2, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 7] 165s returns [1, 2, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 8] 165s returns [1, 2, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 4, 9] 165s returns [1, 2, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 6] 165s returns [1, 2, 4, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 7] 165s returns [1, 2, 4, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 8] 165s returns [1, 2, 4, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 5, 9] 165s returns [1, 2, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 7] 165s returns [1, 2, 4, 5, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 8] 165s returns [1, 2, 4, 5, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 6, 9] 165s returns [1, 2, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 7, 8] 165s returns [1, 2, 4, 5, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 7, 9] 165s returns [1, 2, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [3, 8, 9] 165s returns [1, 2, 4, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 6] 165s returns [1, 2, 3, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 7] 165s returns [1, 2, 3, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 8] 165s returns [1, 2, 3, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 5, 9] 165s returns [1, 2, 3, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 7] 165s returns [1, 2, 3, 5, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 8] 165s returns [1, 2, 3, 5, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 6, 9] 165s returns [1, 2, 3, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 7, 8] 165s returns [1, 2, 3, 5, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 7, 9] 165s returns [1, 2, 3, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [4, 8, 9] 165s returns [1, 2, 3, 5, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 7] 165s returns [1, 2, 3, 4, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 8] 165s returns [1, 2, 3, 4, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 6, 9] 165s returns [1, 2, 3, 4, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 7, 8] 165s returns [1, 2, 3, 4, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 7, 9] 165s returns [1, 2, 3, 4, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [5, 8, 9] 165s returns [1, 2, 3, 4, 6, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 7, 8] 165s returns [1, 2, 3, 4, 5, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 7, 9] 165s returns [1, 2, 3, 4, 5, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [6, 8, 9] 165s returns [1, 2, 3, 4, 5, 7] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9], when deleting [7, 8, 9] 165s returns [1, 2, 3, 4, 5, 6] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 3] 165s returns [4, 5, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 4] 165s returns [3, 5, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 5] 165s returns [3, 4, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 6] 165s returns [3, 4, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 7] 165s returns [3, 4, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 8] 165s returns [3, 4, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 9] 165s returns [3, 4, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 2, 10] 165s returns [3, 4, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 4] 165s returns [2, 5, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 5] 165s returns [2, 4, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 6] 165s returns [2, 4, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 7] 165s returns [2, 4, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 8] 165s returns [2, 4, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 9] 165s returns [2, 4, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 3, 10] 165s returns [2, 4, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 5] 165s returns [2, 3, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 6] 165s returns [2, 3, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 7] 165s returns [2, 3, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 8] 165s returns [2, 3, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 9] 165s returns [2, 3, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 4, 10] 165s returns [2, 3, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 6] 165s returns [2, 3, 4, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 7] 165s returns [2, 3, 4, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 8] 165s returns [2, 3, 4, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 9] 165s returns [2, 3, 4, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 5, 10] 165s returns [2, 3, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 7] 165s returns [2, 3, 4, 5, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 8] 165s returns [2, 3, 4, 5, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 9] 165s returns [2, 3, 4, 5, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 6, 10] 165s returns [2, 3, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 8] 165s returns [2, 3, 4, 5, 6, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 9] 165s returns [2, 3, 4, 5, 6, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 7, 10] 165s returns [2, 3, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 8, 9] 165s returns [2, 3, 4, 5, 6, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 8, 10] 165s returns [2, 3, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [1, 9, 10] 165s returns [2, 3, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 4] 165s returns [1, 5, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 5] 165s returns [1, 4, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 6] 165s returns [1, 4, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 7] 165s returns [1, 4, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 8] 165s returns [1, 4, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 9] 165s returns [1, 4, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 3, 10] 165s returns [1, 4, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 5] 165s returns [1, 3, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 6] 165s returns [1, 3, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 7] 165s returns [1, 3, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 8] 165s returns [1, 3, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 9] 165s returns [1, 3, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 4, 10] 165s returns [1, 3, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 6] 165s returns [1, 3, 4, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 7] 165s returns [1, 3, 4, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 8] 165s returns [1, 3, 4, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 9] 165s returns [1, 3, 4, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 5, 10] 165s returns [1, 3, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 7] 165s returns [1, 3, 4, 5, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 8] 165s returns [1, 3, 4, 5, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 9] 165s returns [1, 3, 4, 5, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 6, 10] 165s returns [1, 3, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 8] 165s returns [1, 3, 4, 5, 6, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 9] 165s returns [1, 3, 4, 5, 6, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 7, 10] 165s returns [1, 3, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 8, 9] 165s returns [1, 3, 4, 5, 6, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 8, 10] 165s returns [1, 3, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [2, 9, 10] 165s returns [1, 3, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 5] 165s returns [1, 2, 6, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 6] 165s returns [1, 2, 5, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 7] 165s returns [1, 2, 5, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 8] 165s returns [1, 2, 5, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 9] 165s returns [1, 2, 5, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 4, 10] 165s returns [1, 2, 5, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 6] 165s returns [1, 2, 4, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 7] 165s returns [1, 2, 4, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 8] 165s returns [1, 2, 4, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 9] 165s returns [1, 2, 4, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 5, 10] 165s returns [1, 2, 4, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 7] 165s returns [1, 2, 4, 5, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 8] 165s returns [1, 2, 4, 5, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 9] 165s returns [1, 2, 4, 5, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 6, 10] 165s returns [1, 2, 4, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 8] 165s returns [1, 2, 4, 5, 6, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 9] 165s returns [1, 2, 4, 5, 6, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 7, 10] 165s returns [1, 2, 4, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 8, 9] 165s returns [1, 2, 4, 5, 6, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 8, 10] 165s returns [1, 2, 4, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [3, 9, 10] 165s returns [1, 2, 4, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 6] 165s returns [1, 2, 3, 7, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 7] 165s returns [1, 2, 3, 6, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 8] 165s returns [1, 2, 3, 6, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 9] 165s returns [1, 2, 3, 6, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 5, 10] 165s returns [1, 2, 3, 6, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 7] 165s returns [1, 2, 3, 5, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 8] 165s returns [1, 2, 3, 5, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 9] 165s returns [1, 2, 3, 5, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 6, 10] 165s returns [1, 2, 3, 5, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 8] 165s returns [1, 2, 3, 5, 6, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 9] 165s returns [1, 2, 3, 5, 6, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 7, 10] 165s returns [1, 2, 3, 5, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 8, 9] 165s returns [1, 2, 3, 5, 6, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 8, 10] 165s returns [1, 2, 3, 5, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [4, 9, 10] 165s returns [1, 2, 3, 5, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 7] 165s returns [1, 2, 3, 4, 8, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 8] 165s returns [1, 2, 3, 4, 7, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 9] 165s returns [1, 2, 3, 4, 7, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 6, 10] 165s returns [1, 2, 3, 4, 7, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 8] 165s returns [1, 2, 3, 4, 6, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 9] 165s returns [1, 2, 3, 4, 6, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 7, 10] 165s returns [1, 2, 3, 4, 6, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 8, 9] 165s returns [1, 2, 3, 4, 6, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 8, 10] 165s returns [1, 2, 3, 4, 6, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [5, 9, 10] 165s returns [1, 2, 3, 4, 6, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 8] 165s returns [1, 2, 3, 4, 5, 9, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 9] 165s returns [1, 2, 3, 4, 5, 8, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 7, 10] 165s returns [1, 2, 3, 4, 5, 8, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 8, 9] 165s returns [1, 2, 3, 4, 5, 7, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 8, 10] 165s returns [1, 2, 3, 4, 5, 7, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [6, 9, 10] 165s returns [1, 2, 3, 4, 5, 7, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 8, 9] 165s returns [1, 2, 3, 4, 5, 6, 10] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 8, 10] 165s returns [1, 2, 3, 4, 5, 6, 9] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [7, 9, 10] 165s returns [1, 2, 3, 4, 5, 6, 8] 165s on [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], when deleting [8, 9, 10] 165s returns [1, 2, 3, 4, 5, 6, 7] 165s #delete? 165s with an existing value 165s preserves the original 165s returns a copy with the remaining values 165s with a non-existing value 165s preserves the original values 165s returns false 165s 165s Hamster::SortedSet 165s #difference 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns [] 165s for ["A", "B", "C"] and ["B"] 165s returns ["A", "C"] 165s for ["A", "B", "C"] and ["A", "C"] 165s returns ["B"] 165s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 165s returns ["A", "C", "D"] 165s #subtract 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns [] 165s for ["A", "B", "C"] and ["B"] 165s returns ["A", "C"] 165s for ["A", "B", "C"] and ["A", "C"] 165s returns ["B"] 165s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 165s returns ["A", "C", "D"] 165s #- 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns [] 165s for ["A", "B", "C"] and ["B"] 165s returns ["A", "C"] 165s for ["A", "B", "C"] and ["A", "C"] 165s returns ["B"] 165s for ["A", "B", "C", "D", "E", "F"] and ["B", "E", "F", "G", "M", "X"] 165s returns ["A", "C", "D"] 165s 165s Hamster::SortedSet 165s #disjoint? 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["D", "E"] 165s returns true 165s for ["F", "G", "H", "I"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["D", "E", "F", "G"] and ["A", "B", "C"] 165s returns true 165s 165s Hamster::SortedSet 165s #drop 165s 0 from [] 165s preserves the original 165s returns [] 165s 10 from [] 165s preserves the original 165s returns [] 165s 10 from ["A"] 165s preserves the original 165s returns [] 165s 0 from ["A", "B", "C"] 165s preserves the original 165s returns ["A", "B", "C"] 165s 1 from ["A", "B", "C"] 165s preserves the original 165s returns ["B", "C"] 165s 2 from ["A", "B", "C"] 165s preserves the original 165s returns ["C"] 165s 3 from ["A", "B", "C"] 165s preserves the original 165s returns [] 165s when argument is zero 165s returns self 165s when the set has a custom order 165s maintains the custom order 165s keeps the comparator even when set is cleared 165s when called on a subclass 165s should return an instance of the subclass 165s 165s Hamster::SortedSet 165s #drop_while 165s on [] 165s with a block 165s preserves the original 165s returns [] 165s without a block 165s returns an Enumerator 165s on ["A"] 165s with a block 165s preserves the original 165s returns [] 165s without a block 165s returns an Enumerator 165s on ["A", "B", "C"] 165s with a block 165s preserves the original 165s returns ["C"] 165s without a block 165s returns an Enumerator 165s on ["A", "B", "C", "D", "E", "F", "G"] 165s with a block 165s preserves the original 165s returns ["C", "D", "E", "F", "G"] 165s without a block 165s returns an Enumerator 165s 165s Hamster::SortedSet 165s #each 165s with no block 165s returns an Enumerator 165s with a block 165s returns self 165s iterates over the items in order 165s 165s Hamster::SortedSet 165s #empty? 165s on [] 165s returns true 165s on ["A"] 165s returns false 165s on ["A", "B", "C"] 165s returns false 165s .empty 165s returns the canonical empty set 165s from a subclass 165s returns an empty instance of the subclass 165s 165s Hamster::SortedSet 165s #eql? 165s when comparing to a standard set 165s returns false 165s when comparing to a arbitrary object 165s returns false 165s when comparing to a Hamster::Set 165s returns false 165s when comparing with a subclass of Hamster::SortedSet 165s returns false 165s with an empty set for each comparison 165s returns true 165s with an empty set and a set with nil 165s returns false 165s with a single item array and empty array 165s returns false 165s with matching single item array 165s returns true 165s with mismatching single item array 165s returns false 165s with a multi-item array and single item array 165s returns false 165s with matching multi-item array 165s returns true 165s with a mismatching multi-item array 165s returns true 165s with the same values, but a different sort order 165s returns false 165s 165s Hamster::SortedSet 165s #exclusion 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns [] 165s for ["A", "B", "C"] and ["B"] 165s returns ["A", "C"] 165s for ["A", "B", "C"] and ["B", "C", "D"] 165s returns ["A", "D"] 165s for ["A", "B", "C"] and ["D", "E", "F"] 165s returns ["A", "B", "C", "D", "E", "F"] 165s #^ 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns [] 165s for ["A", "B", "C"] and ["B"] 165s returns ["A", "C"] 165s for ["A", "B", "C"] and ["B", "C", "D"] 165s returns ["A", "D"] 165s for ["A", "B", "C"] and ["D", "E", "F"] 165s returns ["A", "B", "C", "D", "E", "F"] 165s 165s Hamster::SortedSet 165s #fetch 165s gives precedence to default block over default argument if passed both 165s with no default provided 165s when the index exists 165s returns the value at the index 165s when the key does not exist 165s raises an IndexError 165s with a default value 165s when the index exists 165s returns the value at the index 165s when the index does not exist 165s returns the default value 165s with a default block 165s when the index exists 165s returns the value at the index 165s when the index does not exist 165s invokes the block with the missing index as parameter 165s 165s Hamster::SortedSet 165s #find_index 165s looking for "A" in [] without block 165s returns nil 165s looking for "A" in [] with block 165s returns nil 165s looking for nil in [] with block 165s returns nil 165s looking for "A" in ["A"] without block 165s returns 0 165s looking for "A" in ["A"] with block 165s returns 0 165s looking for "B" in ["A"] without block 165s returns nil 165s looking for "B" in ["A"] with block 165s returns nil 165s looking for nil in ["A"] with block 165s returns nil 165s looking for "A" in ["A", "B", "C"] without block 165s returns 0 165s looking for "A" in ["A", "B", "C"] with block 165s returns 0 165s looking for "B" in ["A", "B", "C"] without block 165s returns 1 165s looking for "B" in ["A", "B", "C"] with block 165s returns 1 165s looking for "C" in ["A", "B", "C"] without block 165s returns 2 165s looking for "C" in ["A", "B", "C"] with block 165s returns 2 165s looking for "D" in ["A", "B", "C"] without block 165s returns nil 165s looking for "D" in ["A", "B", "C"] with block 165s returns nil 165s looking for 1 in 0..1 without block 165s returns 1 165s looking for 1 in 0..1 with block 165s returns 1 165s looking for 5 in 0..10 without block 165s returns 5 165s looking for 5 in 0..10 with block 165s returns 5 165s looking for 10 in 0..10 without block 165s returns 10 165s looking for 10 in 0..10 with block 165s returns 10 165s looking for 2 in [2] without block 165s returns 0 165s looking for 2 in [2] with block 165s returns 0 165s looking for 2.0 in [2] without block 165s returns 0 165s looking for 2.0 in [2] with block 165s returns 0 165s looking for 2.0 in [2.0] without block 165s returns 0 165s looking for 2.0 in [2.0] with block 165s returns 0 165s looking for 2 in [2.0] without block 165s returns 0 165s looking for 2 in [2.0] with block 165s returns 0 165s #index 165s looking for "A" in [] without block 165s returns nil 165s looking for "A" in [] with block 165s returns nil 165s looking for nil in [] with block 165s returns nil 165s looking for "A" in ["A"] without block 165s returns 0 165s looking for "A" in ["A"] with block 165s returns 0 165s looking for "B" in ["A"] without block 165s returns nil 165s looking for "B" in ["A"] with block 165s returns nil 165s looking for nil in ["A"] with block 165s returns nil 165s looking for "A" in ["A", "B", "C"] without block 165s returns 0 165s looking for "A" in ["A", "B", "C"] with block 165s returns 0 165s looking for "B" in ["A", "B", "C"] without block 165s returns 1 165s looking for "B" in ["A", "B", "C"] with block 165s returns 1 165s looking for "C" in ["A", "B", "C"] without block 165s returns 2 165s looking for "C" in ["A", "B", "C"] with block 165s returns 2 165s looking for "D" in ["A", "B", "C"] without block 165s returns nil 165s looking for "D" in ["A", "B", "C"] with block 165s returns nil 165s looking for 1 in 0..1 without block 165s returns 1 165s looking for 1 in 0..1 with block 165s returns 1 165s looking for 5 in 0..10 without block 165s returns 5 165s looking for 5 in 0..10 with block 165s returns 5 165s looking for 10 in 0..10 without block 165s returns 10 165s looking for 10 in 0..10 with block 165s returns 10 165s looking for 2 in [2] without block 165s returns 0 165s looking for 2 in [2] with block 165s returns 0 165s looking for 2.0 in [2] without block 165s returns 0 165s looking for 2.0 in [2] with block 165s returns 0 165s looking for 2.0 in [2.0] without block 165s returns 0 165s looking for 2.0 in [2.0] with block 165s returns 0 165s looking for 2 in [2.0] without block 165s returns 0 165s looking for 2 in [2.0] with block 165s returns 0 165s 165s Hamster::SortedSet 165s #first 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["A", "B", "C"] 165s returns "A" 165s on ["Z", "Y", "X"] 165s returns "X" 165s 165s Hamster::SortedSet 165s #from 165s when called without a block 165s returns a sorted set of all items equal to or greater than the argument 165s when called with a block 165s yields all the items equal to or greater than than the argument 165s on an empty set 165s returns an empty set 165s with an argument higher than all the values in the set 165s returns an empty set 165s 165s Hamster::SortedSet 165s #group_by 165s with a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 165s without a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 165s from a subclass 165s returns an Hash whose values are instances of the subclass 165s #group 165s with a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 165s without a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 165s from a subclass 165s returns an Hash whose values are instances of the subclass 165s #classify 165s with a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{true=>Hamster::SortedSet[1, 3], false=>Hamster::SortedSet[2, 4]}] 165s without a block 165s on [] 165s preserves the original 165s returns [] 165s on [1] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1]}] 165s on [1, 2, 3, 4] 165s preserves the original 165s returns [{1=>Hamster::SortedSet[1], 2=>Hamster::SortedSet[2], 3=>Hamster::SortedSet[3], 4=>Hamster::SortedSet[4]}] 165s from a subclass 165s returns an Hash whose values are instances of the subclass 165s 165s Hamster::SortedSet 165s #include? 165s returns true for an existing value (1) 165s returns true for an existing value (2) 165s returns true for an existing value (3) 165s returns true for an existing value (4.0) 165s returns false for a non-existing value 165s uses #<=> for equality 165s #member? 165s returns true for an existing value (1) 165s returns true for an existing value (2) 165s returns true for an existing value (3) 165s returns true for an existing value (4.0) 165s returns false for a non-existing value 165s uses #<=> for equality 165s 165s Hamster::SortedSet 165s #inspect 165s on [] 165s returns "Hamster::SortedSet[]" 165s returns a string which can be eval'd to get an equivalent set 165s on ["A"] 165s returns "Hamster::SortedSet[\"A\"]" 165s returns a string which can be eval'd to get an equivalent set 165s on ["C", "B", "A"] 165s returns "Hamster::SortedSet[\"A\", \"B\", \"C\"]" 165s returns a string which can be eval'd to get an equivalent set 165s from a subclass 165s returns a programmer-readable representation of the set contents 165s returns a string which can be eval'd to get an equivalent set 165s 165s Hamster::SortedSet 165s #intersect? 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["D", "E"] 165s returns false 165s for ["F", "G", "H", "I"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["D", "E", "F", "G"] and ["A", "B", "C"] 165s returns false 165s 165s Hamster::SortedSet 165s #intersection 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns [] 165s for [] and ["A"] 165s returns [] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and ["B"] 165s returns ["B"] 165s for ["B"] and ["A", "B", "C"] 165s returns ["B"] 165s for ["A", "B", "C"] and ["A", "C"] 165s returns ["A", "C"] 165s for ["A", "C"] and ["A", "B", "C"] 165s returns ["A", "C"] 165s for ["A", "M", "T", "X"] and ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] 165s returns ["M", "T"] 165s for ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] and ["A", "M", "T", "X"] 165s returns ["M", "T"] 165s #& 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns [] 165s for [] and ["A"] 165s returns [] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and ["B"] 165s returns ["B"] 165s for ["B"] and ["A", "B", "C"] 165s returns ["B"] 165s for ["A", "B", "C"] and ["A", "C"] 165s returns ["A", "C"] 165s for ["A", "C"] and ["A", "B", "C"] 165s returns ["A", "C"] 165s for ["A", "M", "T", "X"] and ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] 165s returns ["M", "T"] 165s for ["B", "C", "D", "E", "F", "G", "H", "I", "M", "P", "Q", "T", "U"] and ["A", "M", "T", "X"] 165s returns ["M", "T"] 165s 165s Hamster::SortedSet 165s #last 165s with an empty set 165s returns the last item 165s with a single item set 165s returns the last item 165s with a multi-item set 165s returns the last item 165s 165s Hamster::SortedSet 165s #map 165s when empty 165s returns self 165s when not empty 165s with a block 165s preserves the original values 165s returns a new set with the mapped values 165s with no block 165s returns an Enumerator 165s on a set ordered by a comparator 165s returns a new set with the mapped values 165s #collect 165s when empty 165s returns self 165s when not empty 165s with a block 165s preserves the original values 165s returns a new set with the mapped values 165s with no block 165s returns an Enumerator 165s on a set ordered by a comparator 165s returns a new set with the mapped values 165s 165s Hamster::SortedSet 165s #marshal_dump/#marshal_load 165s can survive dumping and loading into a new process 165s is still possible to find items by index after loading 165s raises a TypeError if set has a custom sort order 165s 165s Hamster::SortedSet 165s #max 165s with a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "Ichi" 165s without a block 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "San" 165s 165s Hamster::SortedSet 165s #min 165s on [] 165s returns nil 165s on ["A"] 165s returns "A" 165s on ["Ichi", "Ni", "San"] 165s returns "Ichi" 165s on [1, 2, 3, 4, 5] 165s returns 1 165s on [0, -0.0, 2.2, -4, -4.2] 165s returns -4.2 165s 165s Hamster::SortedSet 165s .new 165s accepts a single enumerable argument and creates a new sorted set 165s also works with a Range 165s is amenable to overriding of #initialize 165s accepts a block with arity 1 165s accepts a block with arity 2 165s can use a block produced by Symbol#to_proc 165s from a subclass 165s returns a frozen instance of the subclass 165s .[] 165s accepts a variable number of items and creates a new sorted set 165s 165s Hamster::SortedSet 165s #reverse_each 165s with no block 165s returns an Enumerator 165s with a block 165s returns self 165s iterates over the items in order 165s 165s Hamster::SortedSet 165s #sample 165s returns a randomly chosen item 165s 165s Hamster::SortedSet 165s #select 165s when everything matches 165s preserves the original 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns an Enumerator 165s when nothing matches 165s preserves the original 165s returns the canonical empty set 165s from a subclass 165s returns an instance of the same class 165s #find_all 165s when everything matches 165s preserves the original 165s returns self 165s when only some things match 165s with a block 165s preserves the original 165s returns a set with the matching values 165s with no block 165s returns an Enumerator 165s when nothing matches 165s preserves the original 165s returns the canonical empty set 165s from a subclass 165s returns an instance of the same class 165s 165s Hamster::SortedSet 165s #size 165s returns 0 for [] 165s returns 1 for ["A"] 165s returns 3 for ["A", "B", "C"] 165s #length 165s returns 0 for [] 165s returns 1 for ["A"] 165s returns 3 for ["A", "B", "C"] 165s 165s Hamster::SortedSet 165s #slice 165s when passed a positive integral index 165s returns the element at that index 165s leaves the original unchanged 165s when passed a negative integral index 165s returns the element which is number (index.abs) counting from the end of the sorted_set 165s when passed a positive integral index and count 165s returns 'count' elements starting from 'index' 165s leaves the original unchanged 165s when passed a negative integral index and count 165s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 165s when passed a Range 165s returns the elements whose indexes are within the given Range 165s leaves the original unchanged 165s when passed an empty Range 165s does not lose custom sort order 165s when passed a length of zero 165s does not lose custom sort order 165s when passed a subclass of Range 165s works the same as with a Range 165s on a subclass of SortedSet 165s with index and count or a range, returns an instance of the subclass 165s #[] 165s when passed a positive integral index 165s returns the element at that index 165s leaves the original unchanged 165s when passed a negative integral index 165s returns the element which is number (index.abs) counting from the end of the sorted_set 165s when passed a positive integral index and count 165s returns 'count' elements starting from 'index' 165s leaves the original unchanged 165s when passed a negative integral index and count 165s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 165s when passed a Range 165s returns the elements whose indexes are within the given Range 165s leaves the original unchanged 165s when passed an empty Range 165s does not lose custom sort order 165s when passed a length of zero 165s does not lose custom sort order 165s when passed a subclass of Range 165s works the same as with a Range 165s on a subclass of SortedSet 165s with index and count or a range, returns an instance of the subclass 165s 165s Hamster::SortedSet 165s #sort 165s on [] 165s with a block 165s preserves the original 165s returns [] 165s without a block 165s preserves the original 165s returns [] 165s on ["A"] 165s with a block 165s preserves the original 165s returns ["A"] 165s without a block 165s preserves the original 165s returns ["A"] 165s on ["Ichi", "Ni", "San"] 165s with a block 165s preserves the original 165s returns ["Ni", "San", "Ichi"] 165s without a block 165s preserves the original 165s returns ["Ichi", "Ni", "San"] 165s #sort_by 165s on [] 165s with a block 165s preserves the original 165s returns [] 165s without a block 165s preserves the original 165s returns [] 165s on ["A"] 165s with a block 165s preserves the original 165s returns ["A"] 165s without a block 165s preserves the original 165s returns ["A"] 165s on ["Ichi", "Ni", "San"] 165s with a block 165s preserves the original 165s returns ["Ni", "San", "Ichi"] 165s without a block 165s preserves the original 165s returns ["Ichi", "Ni", "San"] 165s 165s Hamster::SortedSet 165s #subset? 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s #proper_subset? 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns false 165s for [] and ["A"] 165s returns true 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns false 165s for ["B"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "C"] 165s returns false 165s for ["A", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns true 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns false 165s 165s Hamster::SortedSet 165s #superset? 165s for [] and [] 165s returns true 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns true 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns true 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s #proper_superset? 165s for [] and [] 165s returns false 165s for ["A"] and [] 165s returns true 165s for [] and ["A"] 165s returns false 165s for ["A"] and ["A"] 165s returns false 165s for ["A", "B", "C"] and ["B"] 165s returns true 165s for ["B"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "C"] 165s returns true 165s for ["A", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C"] 165s returns false 165s for ["A", "B", "C"] and ["A", "B", "C", "D"] 165s returns false 165s for ["A", "B", "C", "D"] and ["A", "B", "C"] 165s returns true 165s 165s Hamster::SortedSet 165s #take 165s 10 from [] 165s preserves the original 165s returns [] 165s 10 from ["A"] 165s preserves the original 165s returns ["A"] 165s 0 from ["A", "B", "C"] 165s preserves the original 165s returns [] 165s 2 from ["A", "B", "C"] 165s preserves the original 165s returns ["A", "B"] 165s when argument is at least size of receiver 165s returns self 165s when the set has a custom order 165s maintains the custom order 165s keeps the comparator even when set is cleared 165s when called on a subclass 165s should return an instance of the subclass 165s 165s Hamster::SortedSet 165s #take_while 165s on [] 165s with a block 165s returns [] 165s preserves the original 165s without a block 165s returns an Enumerator 165s on ["A"] 165s with a block 165s returns ["A"] 165s preserves the original 165s without a block 165s returns an Enumerator 165s on ["A", "B", "C"] 165s with a block 165s returns ["A", "B"] 165s preserves the original 165s without a block 165s returns an Enumerator 165s 165s Hamster::SortedSet 165s #to_set 165s on [] 165s returns a set with the same values 165s on ["A"] 165s returns a set with the same values 165s on ["A", "B", "C"] 165s returns a set with the same values 165s 165s Hamster::SortedSet 165s #union 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for [] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"] 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"] 165s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s #| 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for [] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"] 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"] 165s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s #+ 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for [] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"] 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"] 165s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s #merge 165s for [] and [] 165s returns [] 165s for [] and [] 165s returns [] 165s for ["A"] and [] 165s returns ["A"] 165s for [] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A"] and ["A"] 165s returns ["A"] 165s for ["A", "B", "C"] and [] 165s returns ["A", "B", "C"] 165s for [] and ["A", "B", "C"] 165s returns ["A", "B", "C"] 165s for ["A", "C", "E", "G", "X"] and ["B", "C", "D", "E", "H", "M"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s for ["B", "C", "D", "E", "H", "M"] and ["A", "C", "E", "G", "X"] 165s returns ["A", "B", "C", "D", "E", "G", "H", "M", "X"] 165s 165s Hamster::SortedSet 165s #up_to 165s when called without a block 165s returns a sorted set of all items equal to or less than the argument 165s when called with a block 165s yields all the items equal to or less than than the argument 165s on an empty set 165s returns an empty set 165s with an argument less than all the values in the set 165s returns an empty set 165s 165s Hamster::SortedSet 165s #values_at 165s accepts any number of indices, and returns a sorted_set of items at those indices 165s when passed invalid indices 165s filters them out 165s when passed no arguments 165s returns an empty sorted_set 165s from a subclass 165s returns an instance of the subclass 165s 165s Hamster::Vector 165s #add 165s with a empty vector adding a single item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a duplicate item 165s preserves the original 165s adds the item to the vector 165s with a 31-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 32-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 33-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1023-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1024-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1025-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s from a subclass 165s returns an instance of the subclass 165s #<< 165s with a empty vector adding a single item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a duplicate item 165s preserves the original 165s adds the item to the vector 165s with a 31-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 32-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 33-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1023-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1024-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1025-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s from a subclass 165s returns an instance of the subclass 165s #push 165s with a empty vector adding a single item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a single-item vector adding a duplicate item 165s preserves the original 165s adds the item to the vector 165s with a 31-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 32-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 33-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1023-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1024-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s with a 1025-item vector adding a different item 165s preserves the original 165s adds the item to the vector 165s from a subclass 165s returns an instance of the subclass 165s 165s Hamster::Vector 165s #any? 165s when created with no values 165s with a block 165s returns false 165s with a block 165s returns false 165s when created with values 165s with a block that returns true 165s returns true 165s with a block that doesn't return true 165s returns false 165s without a block 165s with some values that are truthy 165s returns true 165s with all values that are falsey 165s returns false 165s 165s Hamster::Vector 165s #assoc 165s searches for a 2-element array with a given 1st item 165s returns nil if a matching 1st item is not found 165s uses #== to compare 1st items with provided object 165s skips elements which are not indexable 165s #rassoc 165s searches for a 2-element array with a given 2nd item 165s returns nil if a matching 2nd item is not found 165s uses #== to compare 2nd items with provided object 165s skips elements which are not indexable 165s 165s Hamster::Vector 165s #bsearch 165s with a block which returns false for elements below desired position, and true for those at/above 165s returns the first element for which the predicate is true 165s if the block always returns false 165s returns nil 165s if the block always returns true 165s returns the first element 165s with a block which returns a negative number for elements below desired position, zero for the right element, and positive for those above 165s returns the element for which the block returns zero 165s if the block always returns positive 165s returns nil 165s if the block always returns negative 165s returns nil 165s if the block returns sometimes positive, sometimes negative, but never zero 165s returns nil 165s if not passed a block 165s returns an Enumerator 165s on an empty vector 165s returns nil 165s 165s Hamster::Vector 165s #clear 165s on [] 165s preserves the original 165s returns an empty vector 165s from a subclass 165s returns an instance of the subclass 165s on ["A"] 165s preserves the original 165s returns an empty vector 165s from a subclass 165s returns an instance of the subclass 165s on ["A", "B", "C"] 165s preserves the original 165s returns an empty vector 165s from a subclass 165s returns an instance of the subclass 165s 165s Hamster::Vector 165s #combination 165s works on many combinations of input 165s leaves the original unmodified 165s with a block 165s returns self 165s with no block 165s returns an Enumerator 165s when passed an argument which is out of bounds 165s yields nothing and returns self 165s when passed an argument zero 165s yields an empty array 165s when passed an argument equal to the vector's length 165s yields self as an array 165s when passed an argument 1 165s yields each item in the vector, as single-item vectors 165s when passed another integral argument 165s yields all combinations of the given length 165s on an empty vector 165s works the same 165s 165s Hamster::Vector 165s #compact 165s returns a new Vector with all nils removed 165s doesn't remove false 165s on an empty vector 165s returns self 165s from a subclass 165s returns an instance of the subclass 165s 165s Hamster::Vector 165s #<=> 165s with [] and [1] 165s returns -1 165s with [1] and [] 165s returns 1 165s with [] and [] 165s returns 0 165s with [1] and [2] 165s returns -1 165s with [2] and [1] 165s returns 1 165s with [1] and [1] 165s returns 0 165s with [1] and [1, 2] 165s returns -1 165s with [1, 2] and [1] 165s returns 1 165s with [1] and [1] 165s returns 0 165s with [2, 3, 4] and [3, 4, 5] 165s returns -1 165s with [3, 4, 5] and [2, 3, 4] 165s returns 1 165s with [2, 3, 4] and [2, 3, 4] 165s returns 0 165s with [[0]] and [[1]] 165s returns -1 165s with [[1]] and [[0]] 165s returns 1 165s with [[0]] and [[0]] 165s returns 0 165s 165s Hamster::Vector 165s #+ 165s preserves the original 165s appends the elements in the other enumerable 165s on a 1-item vector 165s works the same 165s on a 31-item vector 165s works the same 165s on a 32-item vector 165s works the same 165s on a 33-item vector 165s works the same 165s on a 1023-item vector 165s works the same 165s on a 1024-item vector 165s works the same 165s on a 1025-item vector 165s works the same 165s #concat 165s preserves the original 165s appends the elements in the other enumerable 165s on a 1-item vector 165s works the same 165s on a 31-item vector 165s works the same 165s on a 32-item vector 165s works the same 165s on a 33-item vector 165s works the same 165s on a 1023-item vector 165s works the same 165s on a 1024-item vector 165s works the same 165s on a 1025-item vector 165s works the same 165s 165s Hamster::Vector 165s on [] 165s returns self 165s on ["A"] 165s returns self 165s on ["A", "B", "C"] 165s returns self 165s on 1..32 165s returns self 165s on [] 165s returns self 165s on ["A"] 165s returns self 165s on ["A", "B", "C"] 165s returns self 165s on 1..32 165s returns self 165s 165s Hamster::Vector 165s #count 165s returns the number of elements 165s returns the number of elements that equal the argument 165s returns the number of element for which the block evaluates to true 165s 165s Hamster::Vector 165s #delete_at 165s removes the element at the specified index 165s makes no modification if the index is out of range 165s works when deleting last item at boundary where vector trie needs to get shallower 165s works on an empty vector 165s works on a vector with 1 item 165s works on a vector with 32 items 166s has the right size and contents after many deletions 166s 166s Hamster::Vector 166s #delete 166s removes elements that are #== to the argument 166s on an empty vector 166s returns self 166s on a subclass of Vector 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #dig 166s returns value at the index with one argument 166s returns value at index in nested arrays 166s returns nil when indexing deeper than possible 166s returns nil if you index past the end of an array 166s raises a type error when indexing with a key arrays don't understand 166s 166s Hamster::Vector 166s #drop 166s raises an ArgumentError if number of elements specified is negative 166s 10 from [] 166s preserves the original 166s returns [] 166s 10 from ["A"] 166s preserves the original 166s returns [] 166s 1 from ["A"] 166s preserves the original 166s returns [] 166s 0 from ["A"] 166s preserves the original 166s returns ["A"] 166s 0 from ["A", "B", "C"] 166s preserves the original 166s returns ["A", "B", "C"] 166s 2 from ["A", "B", "C"] 166s preserves the original 166s returns ["C"] 166s 3 from 1..32 166s preserves the original 166s returns 4..32 166s 32 from 1..33 166s preserves the original 166s returns [33] 166s when number of elements specified is zero 166s returns self 166s 166s Hamster::Vector 166s #drop_while 166s returns an empty vector if block is always true 166s stops dropping items if block returns nil 166s stops dropping items if block returns false 166s on [] 166s with a block 166s preserves the original 166s returns [] 166s without a block 166s returns an Enumerator 166s on ["A"] 166s with a block 166s preserves the original 166s returns [] 166s without a block 166s returns an Enumerator 166s on ["A", "B", "C"] 166s with a block 166s preserves the original 166s returns ["C"] 166s without a block 166s returns an Enumerator 166s on an empty vector 166s returns an empty vector 166s 166s Hamster::Vector 166s #each_index 166s with a block 166s yields all the valid indices into the vector 166s returns self 166s without a block 166s returns an Enumerator 166s on an empty vector 166s doesn't yield anything 166s on a 1-item vector 166s yields all valid indices 166s on a 2-item vector 166s yields all valid indices 166s on a 10-item vector 166s yields all valid indices 166s on a 31-item vector 166s yields all valid indices 166s on a 32-item vector 166s yields all valid indices 166s on a 33-item vector 166s yields all valid indices 166s on a 1000-item vector 166s yields all valid indices 166s on a 1024-item vector 166s yields all valid indices 166s on a 1025-item vector 166s yields all valid indices 166s 166s Hamster::Vector 166s #each 166s with no block 166s returns an Enumerator 166s on a 31-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on a 32-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on a 33-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on a 1023-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on a 1024-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on a 1025-item vector 166s with a block 166s returns self 166s yields all the items 166s iterates over the items in order 166s on an empty vector 166s doesn't yield anything 166s 166s Hamster::Vector 166s #each_with_index 166s with no block 166s returns an Enumerator 166s on a 1-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 2-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 31-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 32-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 33-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 1023-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 1024-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on a 1025-item vector 166s with a block 166s returns self 166s iterates over the items in order 166s on an empty vector 166s doesn't yield anything 166s 166s Hamster::Vector 166s #empty? 166s on [] 166s returns true 166s on ["A"] 166s returns false 166s on ["A", "B", "C"] 166s returns false 166s .empty 166s returns the canonical empty vector 166s from a subclass 166s returns an empty instance of the subclass 166s calls overridden #initialize when creating empty Hash 166s 166s Hamster::Vector 166s #eql 166s returns false when comparing with an array with the same contents 166s returns false when comparing with an arbitrary object 166s returns false when comparing an empty vector with an empty array 166s returns false when comparing with a subclass of Hamster::Vector 166s #== 166s returns true when comparing with an array with the same contents 166s returns false when comparing with an arbitrary object 166s returns true when comparing an empty vector with an empty array 166s returns true when comparing with a subclass of Hamster::Vector 166s works on larger vectors 166s #eql? 166s returns true 166s for vectors [] and [] 166s for vectors [] and [] 166s returns false 166s for vectors [] and [nil] 166s for vectors [nil] and [] 166s returns false 166s for vectors ["A"] and [] 166s for vectors [] and ["A"] 166s returns true 166s for vectors ["A"] and ["A"] 166s for vectors ["A"] and ["A"] 166s returns false 166s for vectors ["A"] and ["B"] 166s for vectors ["B"] and ["A"] 166s returns false 166s for vectors ["A", "B"] and ["A"] 166s for vectors ["A"] and ["A", "B"] 166s returns true 166s for vectors ["A", "B", "C"] and ["A", "B", "C"] 166s for vectors ["A", "B", "C"] and ["A", "B", "C"] 166s returns false 166s for vectors ["C", "A", "B"] and ["A", "B", "C"] 166s for vectors ["A", "B", "C"] and ["C", "A", "B"] 166s #== 166s returns true 166s for vectors [] and [] 166s for vectors [] and [] 166s returns false 166s for vectors [] and [nil] 166s for vectors [nil] and [] 166s returns false 166s for vectors ["A"] and [] 166s for vectors [] and ["A"] 166s returns true 166s for vectors ["A"] and ["A"] 166s for vectors ["A"] and ["A"] 166s returns false 166s for vectors ["A"] and ["B"] 166s for vectors ["B"] and ["A"] 166s returns false 166s for vectors ["A", "B"] and ["A"] 166s for vectors ["A"] and ["A", "B"] 166s returns true 166s for vectors ["A", "B", "C"] and ["A", "B", "C"] 166s for vectors ["A", "B", "C"] and ["A", "B", "C"] 166s returns false 166s for vectors ["C", "A", "B"] and ["A", "B", "C"] 166s for vectors ["A", "B", "C"] and ["C", "A", "B"] 166s 166s Hamster::Vector 166s #fetch 166s gives precedence to default block over default argument if passed both 166s with no default provided 166s when the index exists 166s returns the value at the index 166s when the key does not exist 166s raises an IndexError 166s with a default value 166s when the index exists 166s returns the value at the index 166s when the index does not exist 166s returns the default value 166s with a default block 166s when the index exists 166s returns the value at the index 166s when the index does not exist 166s invokes the block with the missing index as parameter 166s 166s Hamster::Vector 166s #fill 166s can replace a range of items at the beginning of a vector 166s can replace a range of items in the middle of a vector 166s can replace a range of items at the end of a vector 166s can replace all the items in a vector 166s can fill past the end of the vector 166s behaves like Array#fill, on a variety of inputs 166s with 1 argument 166s replaces all the items in the vector by default 166s with 2 arguments 166s replaces up to the end of the vector by default 166s when index and length are 0 166s leaves the vector unmodified 166s when expanding a vector past boundary where vector trie needs to deepen 166s works the same 166s on a 1000-item vector 166s works the same 166s on a 1023-item vector 166s works the same 166s on a 1024-item vector 166s works the same 166s on a 1025-item vector 166s works the same 166s on a 2000-item vector 166s works the same 166s 166s Hamster::Vector 166s #first 166s on [] 166s returns nil 166s on ["A"] 166s returns "A" 166s on ["A", "B", "C"] 166s returns "A" 166s on 1..32 166s returns 1 166s 166s Hamster::Vector 166s #flat_map 166s with an empty vector 166s returns the flattened values as a Hamster::Vector 166s returns a Hamster::Vector 166s with a block that returns an empty vector 166s returns the flattened values as a Hamster::Vector 166s returns a Hamster::Vector 166s with a vector of one item 166s returns the flattened values as a Hamster::Vector 166s returns a Hamster::Vector 166s with a vector of multiple items 166s returns the flattened values as a Hamster::Vector 166s returns a Hamster::Vector 166s 166s Hamster::Vector 166s #flatten 166s recursively flattens nested vectors into containing vector 166s flattens nested arrays as well 166s leaves the original unmodified 166s with an integral argument 166s only flattens down to the specified depth 166s with an argument of zero 166s returns self 166s on a subclass 166s returns an instance of the subclass 166s on a vector with no nested vectors 166s returns an unchanged vector 166s on a Vector larger than 32 items initialized with Vector.new 166s returns an unchanged vector 166s 166s Hamster::Vector 166s #get 166s when empty 166s always returns nil 166s when not empty 166s with a positive index 166s within the absolute bounds of the vector 166s returns the value at the specified index from the head 166s outside the absolute bounds of the vector 166s returns nil 166s with a negative index 166s within the absolute bounds of the vector 166s returns the value at the specified index from the tail 166s outside the absolute bounds of the vector 166s returns nil 166s on a 1-item vector 166s works correctly, even after various addings and removings 166s on a 10-item vector 166s works correctly, even after various addings and removings 166s on a 31-item vector 166s works correctly, even after various addings and removings 166s on a 32-item vector 166s works correctly, even after various addings and removings 166s on a 33-item vector 166s works correctly, even after various addings and removings 166s on a 1024-item vector 166s works correctly, even after various addings and removings 166s on a 1025-item vector 166s works correctly, even after various addings and removings 166s on a 2000-item vector 166s works correctly, even after various addings and removings 166s #at 166s when empty 166s always returns nil 166s when not empty 166s with a positive index 166s within the absolute bounds of the vector 166s returns the value at the specified index from the head 166s outside the absolute bounds of the vector 166s returns nil 166s with a negative index 166s within the absolute bounds of the vector 166s returns the value at the specified index from the tail 166s outside the absolute bounds of the vector 166s returns nil 166s on a 1-item vector 166s works correctly, even after various addings and removings 166s on a 10-item vector 166s works correctly, even after various addings and removings 166s on a 31-item vector 166s works correctly, even after various addings and removings 166s on a 32-item vector 166s works correctly, even after various addings and removings 166s on a 33-item vector 166s works correctly, even after various addings and removings 166s on a 1024-item vector 166s works correctly, even after various addings and removings 166s on a 1025-item vector 166s works correctly, even after various addings and removings 166s on a 2000-item vector 166s works correctly, even after various addings and removings 166s 166s Hamster::Vector 166s #group_by 166s returns a hash without default proc 166s with a block 166s on [] 166s returns [] 166s on [1] 166s returns [{true=>Hamster::Vector[1]}] 166s on [1, 2, 3, 4] 166s returns [{true=>Hamster::Vector[1, 3], false=>Hamster::Vector[2, 4]}] 166s without a block 166s on [] 166s returns [] 166s on [1] 166s returns [{1=>Hamster::Vector[1]}] 166s on [1, 2, 3, 4] 166s returns [{1=>Hamster::Vector[1], 2=>Hamster::Vector[2], 3=>Hamster::Vector[3], 4=>Hamster::Vector[4]}] 166s on an empty vector 166s returns an empty hash 166s from a subclass 166s returns an Hash whose values are instances of the subclass 166s 166s Hamster::Vector 166s #include? 166s on [] 166s returns false 166s on [] 166s returns false 166s on ["A"] 166s returns true 166s on ["A"] 166s returns false 166s on ["A"] 166s returns false 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns false 166s on ["A", "B", false] 166s returns true 166s on [2] 166s returns true 166s on [2] 166s returns true 166s on [2.0] 166s returns true 166s on [2.0] 166s returns true 166s #member? 166s on [] 166s returns false 166s on [] 166s returns false 166s on ["A"] 166s returns true 166s on ["A"] 166s returns false 166s on ["A"] 166s returns false 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns true 166s on ["A", "B", nil] 166s returns false 166s on ["A", "B", false] 166s returns true 166s on [2] 166s returns true 166s on [2] 166s returns true 166s on [2.0] 166s returns true 166s on [2.0] 166s returns true 166s 166s Hamster::Vector 166s #insert 166s can add items at the beginning of a vector 166s can add items in the middle of a vector 166s can add items at the end of a vector 166s can add items past the end of a vector 166s accepts a negative index, which counts back from the end of the vector 166s raises IndexError if a negative index is too great 166s works when adding an item past boundary when vector trie needs to deepen 166s works when adding to an empty Vector 166s has the right size and contents after many insertions 166s 166s Hamster::Vector 166s #inspect 166s with an empty array 166s returns its contents as a programmer-readable string 166s returns a string which can be eval'd to get back an equivalent vector 166s with a single item array 166s returns its contents as a programmer-readable string 166s returns a string which can be eval'd to get back an equivalent vector 166s with a multi-item array 166s returns its contents as a programmer-readable string 166s returns a string which can be eval'd to get back an equivalent vector 166s from a subclass 166s returns its contents as a programmer-readable string 166s returns a string which can be eval'd to get back an equivalent vector 166s 166s Hamster::Vector 166s #join 166s with a separator 166s on [] 166s preserves the original 166s returns "" 166s on ["A"] 166s preserves the original 166s returns "A" 166s on ["A", "B", "C"] 166s preserves the original 166s returns "A|B|C" 166s without a separator 166s on [] 166s preserves the original 166s returns "" 166s on ["A"] 166s preserves the original 166s returns "A" 166s on ["A", "B", "C"] 166s preserves the original 166s returns "ABC" 166s without a separator (with global default separator set) 166s on ["A", "B", "C"] 166s returns "A**B**C" 166s 166s Hamster::Vector 166s #last 166s with an empty vector 166s returns the last item 166s with a single item vector 166s returns the last item 166s with a multi-item vector 166s returns the last item 166s with a 31-item vector 166s returns the last item 166s with a 32-item vector 166s returns the last item 166s with a 33-item vector 166s returns the last item 166s with a 1023-item vector 166s returns the last item 166s with a 1024-item vector 166s returns the last item 166s with a 1025-item vector 166s returns the last item 166s 166s Hamster::Vector 166s #length 166s with an empty vector 166s returns the values 166s with a single item vector 166s returns the values 166s with a multi-item vector 166s returns the values 166s with a 31-item vector 166s returns the values 166s with a 32-item vector 166s returns the values 166s with a 33-item vector 166s returns the values 166s with a 1023-item vector 166s returns the values 166s with a 1024-item vector 166s returns the values 166s with a 1025-item vector 166s returns the values 166s 166s Hamster::Vector 166s #<< 166s with a empty array adding a single item 166s preserves the original 166s ltlts the item to the vector 166s with a single-item array adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a single-item array adding a duplicate item 166s preserves the original 166s ltlts the item to the vector 166s with a 31-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a 32-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a 33-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a 1023-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a 1024-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s with a 1025-item vector adding a different item 166s preserves the original 166s ltlts the item to the vector 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #map 166s when empty 166s returns self 166s when not empty 166s with a block 166s preserves the original values 166s returns a new vector with the mapped values 166s with no block 166s returns an Enumerator 166s from a subclass 166s returns an instance of the subclass 166s on a large vector 166s works 166s #collect 166s when empty 166s returns self 166s when not empty 166s with a block 166s preserves the original values 166s returns a new vector with the mapped values 166s with no block 166s returns an Enumerator 166s from a subclass 166s returns an instance of the subclass 166s on a large vector 166s works 166s 166s Hamster::Vector 166s #marshal_dump/#marshal_load 166s can survive dumping and loading into a new process 166s is still possible to find items by index after loading 166s 166s Hamster::Vector 166s #max 166s with a block 166s on [] 166s returns nil 166s on ["A"] 166s returns "A" 166s on ["Ichi", "Ni", "San"] 166s returns "Ichi" 166s without a block 166s on [] 166s returns nil 166s on ["A"] 166s returns "A" 166s on ["Ichi", "Ni", "San"] 166s returns "San" 166s 166s Hamster::Vector 166s #min 166s with a block 166s on [] 166s returns nil 166s on ["A"] 166s returns "A" 166s on ["Ichi", "Ni", "San"] 166s returns "Ni" 166s without a block 166s on [] 166s returns nil 166s on ["A"] 166s returns "A" 166s on ["Ichi", "Ni", "San"] 166s returns "Ichi" 166s 166s Hamster::Vector 166s #* 166s raises a TypeError if passed nil 166s raises an ArgumentError if passed no arguments 166s with a String argument 166s acts just like #join 166s with an Integer argument 166s concatenates n copies of the array 166s raises an ArgumentError if integer is negative 166s works on large vectors 166s with a subclass of Vector 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s .new 166s accepts a single enumerable argument and creates a new vector 166s makes a defensive copy of a non-frozen mutable Array passed in 166s is amenable to overriding of #initialize 166s from a subclass 166s returns a frozen instance of the subclass 166s .[] 166s accepts a variable number of items and creates a new vector 166s 166s Hamster::Vector 166s #partition 166s on [] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [1] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [1, 2] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [1, 2, 3] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [1, 2, 3, 4] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [2, 3, 4] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [3, 4] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s on [4] 166s with a block 166s preserves the original 166s returns a frozen array with two items 166s correctly identifies the matches 166s correctly identifies the remainder 166s without a block 166s returns an Enumerator 166s 166s Hamster::Vector 166s #permutation 166s handles duplicate elements correctly 166s leaves the original unmodified 166s behaves like Array#permutation 166s without a block or arguments 166s returns an Enumerator of all permutations 166s without a block, but with integral argument 166s returns an Enumerator of all permutations of given length 166s with a block 166s returns self 166s and no argument 166s yields all permutations 166s and an integral argument 166s yields all permutations of the given length 166s on an empty vector 166s yields the empty permutation 166s with an argument of zero 166s yields the empty permutation 166s with a length greater than the size of the vector 166s yields no permutations 166s 166s Hamster::Vector 166s #pop 166s on [] 166s preserves the original 166s returns [] 166s on ["A"] 166s preserves the original 166s returns [] 166s on ["A", "B", "C"] 166s preserves the original 166s returns ["A", "B"] 166s on 1..32 166s preserves the original 166s returns 1..31 166s on 1..33 166s preserves the original 166s returns 1..32 166s 166s Hamster::Vector 166s #product 166s when passed no arguments 166s multiplies all items in vector 166s when passed one or more vectors 166s when passed a block 166s yields an array for each combination of items from the vectors 166s returns self 166s when not passed a block 166s returns the cartesian product in an array 166s when one of the arguments is empty 166s returns an empty array 166s when the receiver is empty 166s returns an empty array 166s when passed one or more Arrays 166s also calculates the cartesian product correctly 166s 166s Hamster::Vector 166s #put 166s when empty 166s 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.DIdRDv/build.B6s/src/spec/lib/hamster/vector/put_spec.rb:12:in `block (4 levels) in '. 166s raises an error for index -1 166s allows indexes 0 and 1 to be put 166s when not empty 166s with a block 166s and a positive index 166s within the absolute bounds of the vector 166s passes the current value to the block 166s replaces the value with the result of the block 166s supports to_proc methods 166s just past the end of the vector 166s passes nil to the block and adds a new value 166s further outside the bounds of the vector 166s passes nil to the block, fills up missing nils, and adds a new value 166s and a negative index 166s within the absolute bounds of the vector 166s passes the current value to the block 166s replaces the value with the result of the block 166s supports to_proc methods 166s outside the absolute bounds of the vector 166s 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.DIdRDv/build.B6s/src/spec/lib/hamster/vector/put_spec.rb:76:in `block (7 levels) in '. 166s raises an error 166s with a value 166s and a positive index 166s within the absolute bounds of the vector 166s preserves the original 166s puts the new value at the specified index 166s just past the end of the vector 166s adds a new value 166s outside the absolute bounds of the vector 166s fills up with nils 166s with a negative index 166s preserves the original 166s puts the new value at the specified index 166s outside the absolute bounds of the vector 166s 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.DIdRDv/build.B6s/src/spec/lib/hamster/vector/put_spec.rb:126:in `block (6 levels) in '. 166s raises an error 166s from a subclass 166s returns an instance of the subclass 166s on a 10-item vector 166s works correctly 166s on a 31-item vector 166s works correctly 166s on a 32-item vector 166s works correctly 166s on a 33-item vector 166s works correctly 166s on a 1000-item vector 166s works correctly 166s on a 1023-item vector 166s works correctly 166s on a 1024-item vector 166s works correctly 166s on a 1025-item vector 166s works correctly 166s on a 2000-item vector 166s works correctly 166s with an identical value to an existing item 166s on a 1-item vector 166s returns self 166s on a 2-item vector 166s returns self 166s on a 5-item vector 166s returns self 166s on a 31-item vector 166s returns self 166s on a 32-item vector 166s returns self 166s on a 33-item vector 166s returns self 166s on a 100-item vector 166s returns self 166s on a 200-item vector 166s returns self 166s 166s Hamster::Vector 166s #reduce 166s on [] 166s with an initial value of 10 166s and a block 166s returns 10 166s on [1] 166s with an initial value of 10 166s and a block 166s returns 9 166s on [1, 2, 3] 166s with an initial value of 10 166s and a block 166s returns 4 166s on [] 166s with no initial value 166s and a block 166s returns nil 166s on [1] 166s with no initial value 166s and a block 166s returns 1 166s on [1, 2, 3] 166s with no initial value 166s and a block 166s returns -4 166s with no block and a symbol argument 166s uses the symbol as the name of a method to reduce with 166s with no block and a string argument 166s uses the string as the name of a method to reduce with 166s #inject 166s on [] 166s with an initial value of 10 166s and a block 166s returns 10 166s on [1] 166s with an initial value of 10 166s and a block 166s returns 9 166s on [1, 2, 3] 166s with an initial value of 10 166s and a block 166s returns 4 166s on [] 166s with no initial value 166s and a block 166s returns nil 166s on [1] 166s with no initial value 166s and a block 166s returns 1 166s on [1, 2, 3] 166s with no initial value 166s and a block 166s returns -4 166s with no block and a symbol argument 166s uses the symbol as the name of a method to reduce with 166s with no block and a string argument 166s uses the string as the name of a method to reduce with 166s 166s Hamster::Vector 166s #reject 166s works with a variety of inputs 166s on [] 166s with a block 166s returns [] 166s without a block 166s returns an Enumerator 166s on ["A"] 166s with a block 166s returns ["A"] 166s without a block 166s returns an Enumerator 166s on ["A", "B", "C"] 166s with a block 166s returns ["A", "B", "C"] 166s without a block 166s returns an Enumerator 166s on ["A", "b", "C"] 166s with a block 166s returns ["A", "C"] 166s without a block 166s returns an Enumerator 166s on ["a", "b", "c"] 166s with a block 166s returns [] 166s without a block 166s returns an Enumerator 166s #delete_if 166s works with a variety of inputs 166s on [] 166s with a block 166s returns [] 166s without a block 166s returns an Enumerator 166s on ["A"] 166s with a block 166s returns ["A"] 166s without a block 166s returns an Enumerator 166s on ["A", "B", "C"] 166s with a block 166s returns ["A", "B", "C"] 166s without a block 166s returns an Enumerator 166s on ["A", "b", "C"] 166s with a block 166s returns ["A", "C"] 166s without a block 166s returns an Enumerator 166s on ["a", "b", "c"] 166s with a block 166s returns [] 166s without a block 166s returns an Enumerator 166s 166s Hamster::Vector 166s #repeated_combination 166s leaves the original unmodified 166s behaves like Array#repeated_combination 166s with no block 166s returns an Enumerator 166s with a block 166s returns self 166s with a negative argument 166s yields nothing and returns self 166s with a zero argument 166s yields an empty array 166s with a argument of 1 166s yields each item in the vector, as single-item vectors 166s on an empty vector, with an argument greater than zero 166s yields nothing 166s with a positive argument, greater than 1 166s yields all combinations of the given size (where a single element can appear more than once in a row) 166s 166s Hamster::Vector 166s #repeated_permutation 166s handles duplicate elements correctly 166s allows permutations larger than the number of elements 166s leaves the original unmodified 166s behaves like Array#repeated_permutation 166s without a block 166s and without argument 166s returns an Enumerator of all repeated permutations 166s with an integral argument 166s returns an Enumerator of all repeated permutations of the given length 166s with a block 166s returns self 166s on an empty vector 166s yields the empty permutation 166s with an argument of zero 166s yields the empty permutation 166s with no argument 166s yields all repeated permutations 166s with a positive integral argument 166s yields all repeated permutations of the given length 166s 166s Hamster::Vector 166s #reverse_each 166s on a 2-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 31-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 32-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 33-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 1000-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 1024-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 1025-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s on a 2000-item vector 166s with a block (internal iteration) 166s returns self 166s yields all items in the opposite order as #each 166s with no block 166s returns an Enumerator 166s 166s Hamster::Vector 166s #reverse 166s on [] 166s returns [] 166s on [1] 166s returns [1] 166s on [1, 2] 166s returns [2, 1] 166s 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] 166s 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] 166s 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] 166s 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] 166s 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] 166s 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] 166s 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] 166s 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] 166s 166s Hamster::Vector 166s #rindex 166s when passed an object present in the vector 166s returns the last index where the object is present 166s when passed an object not present in the vector 166s returns nil 166s with a block 166s returns the last index of an object which the predicate is true for 166s without an argument OR block 166s returns an Enumerator 166s 166s Hamster::Vector 166s #rotate 166s leaves the original unmodified 166s when passed no argument 166s returns a new vector with the first element moved to the end 166s with an integral argument n 166s returns a new vector with the first (n % size) elements moved to the end 166s with a floating-point argument n 166s coerces the argument to integer using to_int 166s with a non-numeric argument 166s raises a TypeError 166s with an argument of zero 166s returns self 166s with an argument equal to the vector's size 166s returns self 166s on a 31-item vector 166s behaves like Array#rotate 166s on a 32-item vector 166s behaves like Array#rotate 166s on a 33-item vector 166s behaves like Array#rotate 166s on a 1000-item vector 166s behaves like Array#rotate 166s on a 1023-item vector 166s behaves like Array#rotate 166s on a 1024-item vector 166s behaves like Array#rotate 166s on a 1025-item vector 166s behaves like Array#rotate 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #sample 166s returns a randomly chosen item 166s 166s Hamster::Vector 166s #select 166s works with a variety of inputs 166s with a block 166s preserves the original 166s returns a vector with the matching values 166s with no block 166s returns an Enumerator 166s when nothing matches 166s preserves the original 166s returns an empty vector 166s on an empty vector 166s returns self 166s from a subclass 166s returns an instance of the subclass 166s #find_all 166s works with a variety of inputs 166s with a block 166s preserves the original 166s returns a vector with the matching values 166s with no block 166s returns an Enumerator 166s when nothing matches 166s preserves the original 166s returns an empty vector 166s on an empty vector 166s returns self 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #set 166s without block 166s replaces the element 166s with block 166s passes the existing element to the block and replaces the result 166s 166s Hamster::Vector 166s #shift 166s on [] 166s preserves the original 166s returns [] 166s on ["A"] 166s preserves the original 166s returns [] 166s on ["A", "B", "C"] 166s preserves the original 166s returns ["B", "C"] 166s on 1..31 166s preserves the original 166s returns 2..31 166s on 1..32 166s preserves the original 166s returns 2..32 166s on 1..33 166s preserves the original 166s returns 2..33 166s 166s Hamster::Vector 166s #shuffle 166s returns the same values, in a usually different order 166s leaves the original unchanged 166s from a subclass 166s returns an instance of the subclass 166s on a 32-item vector 166s works correctly 166s on a 33-item vector 166s works correctly 166s on a 1023-item vector 166s works correctly 166s on a 1024-item vector 166s works correctly 166s on a 1025-item vector 166s works correctly 166s 166s Hamster::Vector 166s #slice 166s when passed a positive integral index 166s returns the element at that index 166s leaves the original unchanged 166s when passed a negative integral index 166s returns the element which is number (index.abs) counting from the end of the vector 166s when passed a positive integral index and count 166s returns 'count' elements starting from 'index' 166s leaves the original unchanged 166s when passed a negative integral index and count 166s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 166s when passed a Range 166s returns the elements whose indexes are within the given Range 166s leaves the original unchanged 166s when passed a subclass of Range 166s works the same as with a Range 166s on a subclass of Vector 166s with index and count or a range, returns an instance of the subclass 166s #[] 166s when passed a positive integral index 166s returns the element at that index 166s leaves the original unchanged 166s when passed a negative integral index 166s returns the element which is number (index.abs) counting from the end of the vector 166s when passed a positive integral index and count 166s returns 'count' elements starting from 'index' 166s leaves the original unchanged 166s when passed a negative integral index and count 166s returns 'count' elements, starting from index which is number 'index.abs' counting from the end of the array 166s when passed a Range 166s returns the elements whose indexes are within the given Range 166s leaves the original unchanged 166s when passed a subclass of Range 166s works the same as with a Range 166s on a subclass of Vector 166s with index and count or a range, returns an instance of the subclass 166s 166s Hamster::Vector 166s #sort 166s on [] 166s with a block 166s preserves the original 166s returns [] 166s without a block 166s preserves the original 166s returns [] 166s on ["A"] 166s with a block 166s preserves the original 166s returns ["A"] 166s without a block 166s preserves the original 166s returns ["A"] 166s on ["Ichi", "Ni", "San"] 166s with a block 166s preserves the original 166s returns ["Ni", "San", "Ichi"] 166s without a block 166s preserves the original 166s returns ["Ichi", "Ni", "San"] 166s on a 10-item vector 166s behaves like Arraysort 166s on a 31-item vector 166s behaves like Arraysort 166s on a 32-item vector 166s behaves like Arraysort 166s on a 33-item vector 166s behaves like Arraysort 166s on a 1023-item vector 166s behaves like Arraysort 166s on a 1024-item vector 166s behaves like Arraysort 166s on a 1025-item vector 166s behaves like Arraysort 166s #sort_by 166s on [] 166s with a block 166s preserves the original 166s returns [] 166s without a block 166s preserves the original 166s returns [] 166s on ["A"] 166s with a block 166s preserves the original 166s returns ["A"] 166s without a block 166s preserves the original 166s returns ["A"] 166s on ["Ichi", "Ni", "San"] 166s with a block 166s preserves the original 166s returns ["Ni", "San", "Ichi"] 166s without a block 166s preserves the original 166s returns ["Ichi", "Ni", "San"] 166s on a 10-item vector 166s behaves like Arraysort_by 166s on a 31-item vector 166s behaves like Arraysort_by 166s on a 32-item vector 166s behaves like Arraysort_by 166s on a 33-item vector 166s behaves like Arraysort_by 166s on a 1023-item vector 166s behaves like Arraysort_by 166s on a 1024-item vector 166s behaves like Arraysort_by 166s on a 1025-item vector 166s behaves like Arraysort_by 166s 166s Hamster::Vector 166s #sum 166s on [] 166s returns 0 166s on [2] 166s returns 2 166s on [1, 3, 5, 7, 11] 166s returns 27 166s 166s Hamster::Vector 166s #take 166s 10 from [] 166s preserves the original 166s returns [] 166s 10 from ["A"] 166s preserves the original 166s returns ["A"] 166s 0 from ["A", "B", "C"] 166s preserves the original 166s returns [] 166s 2 from ["A", "B", "C"] 166s preserves the original 166s returns ["A", "B"] 166s 1 from 1..32 166s preserves the original 166s returns [1] 166s 32 from 1..33 166s preserves the original 166s returns 1..32 166s 40 from 1..100 166s preserves the original 166s returns 1..40 166s when number of elements specified is identical to size 166s returns self 166s when number of elements specified is bigger than size 166s returns self 166s 166s Hamster::Vector 166s #take_while 166s on [] 166s with a block 166s returns [] 166s preserves the original 166s without a block 166s returns an Enumerator 166s on ["A"] 166s with a block 166s returns ["A"] 166s preserves the original 166s without a block 166s returns an Enumerator 166s on ["A", "B", "C"] 166s with a block 166s returns ["A", "B"] 166s preserves the original 166s without a block 166s returns an Enumerator 166s 166s Hamster::Vector 166s #to_a 166s with an empty vector 166s returns the values 166s with an single item vector 166s returns the values 166s with an multi-item vector 166s returns the values 166s with a 10-item vector 166s returns the values 166s with a 31-item vector 166s returns the values 166s with a 32-item vector 166s returns the values 166s with a 33-item vector 166s returns the values 166s with a 1000-item vector 166s returns the values 166s with a 1023-item vector 166s returns the values 166s with a 1024-item vector 166s returns the values 166s with a 1025-item vector 166s returns the values 166s 166s Hamster::Vector 166s #to_ary 166s converts using block parameters 166s converts using method arguments 166s converts using splat 166s 166s Hamster::Vector 166s #to_list 166s on [] 166s returns a list 166s the returned list 166s has the correct length 166s contains all values 166s on ["A"] 166s returns a list 166s the returned list 166s has the correct length 166s contains all values 166s on ["A", "B", "C"] 166s returns a list 166s the returned list 166s has the correct length 166s contains all values 166s 166s Hamster::Vector 166s #to_set 166s on [] 166s returns a set with the same values 166s on ["A"] 166s returns a set with the same values 166s on ["A", "B", "C"] 166s returns a set with the same values 166s on 1..10 166s returns a set with the same values 166s on 1..32 166s returns a set with the same values 166s on 1..33 166s returns a set with the same values 166s on 1..1000 166s returns a set with the same values 166s 166s Hamster::Vector 166s #transpose 166s takes a vector of vectors and transposes rows and columns 166s raises an IndexError if the vectors are not of the same length 166s also works on Vectors of Arrays 166s on 10-item vectors 166s behaves like Array#transpose 166s on 31-item vectors 166s behaves like Array#transpose 166s on 32-item vectors 166s behaves like Array#transpose 166s on 33-item vectors 166s behaves like Array#transpose 166s on 1000-item vectors 166s behaves like Array#transpose 166s on 1023-item vectors 166s behaves like Array#transpose 166s on 1024-item vectors 166s behaves like Array#transpose 166s on 1025-item vectors 166s behaves like Array#transpose 166s on 2000-item vectors 166s behaves like Array#transpose 166s on a subclass of Vector 166s returns instances of the subclass 166s 166s Hamster::Vector 166s #uniq 166s returns a vector with no duplicates 166s leaves the original unmodified 166s uses #eql? semantics 166s also uses #hash when determining which values are duplicates 166s keeps the first of each group of duplicate values 166s when passed a block 166s uses the return value of the block to determine which items are duplicate 166s on a vector with no duplicates 166s returns an unchanged vector 166s if the vector has more than 32 elements and is initialized with Vector.new 166s returns an unchanged vector 166s on a 10-item vector 166s behaves like Array#uniq 166s on a 31-item vector 166s behaves like Array#uniq 166s on a 32-item vector 166s behaves like Array#uniq 166s on a 33-item vector 166s behaves like Array#uniq 166s on a 1000-item vector 166s behaves like Array#uniq 166s on a 1023-item vector 166s behaves like Array#uniq 166s on a 1024-item vector 166s behaves like Array#uniq 166s on a 1025-item vector 166s behaves like Array#uniq 166s on a 2000-item vector 166s behaves like Array#uniq 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #unshift 166s on [] with "A" 166s preserves the original 166s returns ["A"] 166s on ["A"] with "B" 166s preserves the original 166s returns ["B", "A"] 166s on ["A"] with "A" 166s preserves the original 166s returns ["A", "A"] 166s on ["A", "B", "C"] with "D" 166s preserves the original 166s returns ["D", "A", "B", "C"] 166s on 1..31 with 0 166s preserves the original 166s returns 0..31 166s on 1..32 with 0 166s preserves the original 166s returns 0..32 166s on 1..33 with 0 166s preserves the original 166s returns 0..33 166s 166s Hamster::Vector 166s #values_at 166s accepts any number of indices, and returns a vector of items at those indices 166s when passed invalid indices 166s fills in with nils 166s when passed no arguments 166s returns an empty vector 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster::Vector 166s #zip 166s with a block 166s yields arrays of one corresponding element from each input sequence 166s fills in the missing values with nils 166s returns nil 166s can handle multiple inputs, of different classes 166s without a block 166s returns a vector of arrays (one corresponding element from each input sequence) 166s on 10-item vectors 166s behaves like Array#zip 166s on 31-item vectors 166s behaves like Array#zip 166s on 32-item vectors 166s behaves like Array#zip 166s on 33-item vectors 166s behaves like Array#zip 166s on 1000-item vectors 166s behaves like Array#zip 166s on 1023-item vectors 166s behaves like Array#zip 166s on 1024-item vectors 166s behaves like Array#zip 166s on 1025-item vectors 166s behaves like Array#zip 166s from a subclass 166s returns an instance of the subclass 166s 166s Hamster 166s Hash 166s can be loaded separately 166s Set 166s can be loaded separately 166s Vector 166s can be loaded separately 166s List 166s can be loaded separately 166s SortedSet 166s can be loaded separately 166s Deque 167s can be loaded separately 167s 167s Pending: (Failures listed here are expected and do not affect your suite's status) 167s 167s 1) Hamster::List doesn't give horrendously bad performance if thread realizing the list sleeps 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/list/multithreading_spec.rb:33 167s 167s 2) Hamster.to_ruby with Hamster::Hash["a" => 1, "d" => Hamster::Set[5, 7, 6], "b" => Hamster::Vector[2, Hamster::Hash["c" => 3], 4], "h" => /ijk/, "e" => Hamster::Hash["g" => 9, "f" => 8]] as input should return {"a"=>1, "b"=>[2, {"c"=>3}, 4], "d"=>#, "e"=>{"f"=>8, "g"=>9}, "h"=>/ijk/} 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 3) Hamster.to_ruby with Hamster::Hash[] as input should return {} 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 4) Hamster.to_ruby with Hamster::Hash["a" => 1, "b" => 2, "c" => 3] as input should return {"a"=>1, "b"=>2, "c"=>3} 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 5) Hamster.to_ruby with Hamster::Vector[] as input should return [] 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 6) Hamster.to_ruby with Hamster::Vector[1, 2, 3] as input should return [1, 2, 3] 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 7) Hamster.to_ruby with Hamster::Set[] as input should return # 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 8) Hamster.to_ruby with Hamster::Set[1, 2, 3] as input should return # 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 9) Hamster.to_ruby with 42 as input should return 42 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s 10) Hamster.to_ruby with #> as input should return #> 167s # Temporarily skipped with xit 167s # ./spec/lib/hamster/nested/construction_spec.rb:64 167s 167s Finished in 6.24 seconds (files took 0.95902 seconds to load) 167s 4593 examples, 0 failures, 10 pending 167s 167s mv ./.gem2deb.lib lib 167s autopkgtest [05:53:55]: test gem2deb-test-runner: -----------------------] 167s gem2deb-test-runner PASS 167s autopkgtest [05:53:55]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 167s autopkgtest [05:53:55]: @@@@@@@@@@@@@@@@@@@@ summary 167s gem2deb-test-runner PASS