Commit Graph

345 Commits

Author SHA1 Message Date
dzaima
28f5896350 some more tests of NaN⌾(a⊸/) & NaN⌾(a⊸⊏) 2025-05-21 00:33:50 +03:00
dzaima
1ab511f657 fix JIT not allocating stack capacity for empty arrays 2025-05-16 02:09:04 +03:00
dzaima
c17280d96d cleanup 2025-05-15 00:43:53 +03:00
dzaima
87089515d5 test for flag-based squeeze 2025-05-13 17:04:38 +03:00
dzaima
0c424df8b7 a couple more fill tests 2025-05-13 17:04:38 +03:00
dzaima
6c4eae5e28 rearrange squeeze.c and make num_squeeze & chr_squeeze more sane 2025-05-13 03:32:32 +03:00
dzaima
62366d10fa •internal.Validate 2025-05-13 00:12:59 +03:00
dzaima
41c9a51ff3 fix unshare on heap-allocated atoms 2025-05-11 20:28:23 +03:00
dzaima
b2259d77c1 some tests for bad squeeze attempts 2025-05-11 20:27:36 +03:00
dzaima
516205321c fix error message of 𝔽⌾(a⊸⊏)𝕩 more 2025-05-09 01:17:51 +03:00
dzaima
f74bdf6142 improve/fix error messages around units in ⊏ & ⊑ some more 2025-05-09 01:00:41 +03:00
dzaima
8d757363e9 improve error message of 𝔽 in 𝔽⌾(a⊸⊏) returning an atom 2025-05-09 00:32:54 +03:00
dzaima
d2c27fd880 fast 𝔽⌾(num⊸⊏)arr 2025-05-09 00:21:42 +03:00
dzaima
07f9b640e9 test for •ReBQN not dropping fills 2025-05-05 20:31:29 +03:00
dzaima
1ecc6b3918 more proper error message for 1⌾((<⋈0)⊸⊑)↕5 2025-05-05 19:37:02 +03:00
dzaima
13906efe44 fix ⊑˘ on rank>2 inputs 2025-05-02 01:28:46 +03:00
dzaima
e32d41eb61 improve •ParseFloat error message on argument with codepoints ≥256 2025-05-01 23:09:48 +03:00
dzaima
0ae0be135c bump for_build binary
has been over a year
2025-05-01 22:53:45 +03:00
dzaima
4e03a6310c fix proper-fills-only error message 2025-03-21 23:35:38 +02:00
dzaima
9a45762ecd more groupstat tests
test change counter for i8 better, and make sure empty input functions as required
2025-03-21 06:01:55 +02:00
dzaima
82ebd37b3f group statistics test 2025-03-13 23:36:02 +02:00
dzaima
72c4eca6c0 fix float ⌾(l⊸⊏) doing wrong comparisons 2025-03-12 17:23:17 +02:00
dzaima
7a412523dd better SSE2 float getRange 2025-03-12 16:38:20 +02:00
dzaima
62b095be89 oneElt⊏𝕩 improvements & fixes 2025-03-12 06:29:26 +02:00
dzaima
3ae7d134d2 more uniform F¨ fill behavior 2025-03-12 05:52:52 +02:00
dzaima
b14ea82218 accept two error messages for 2⋆63 test
boils down to an arch-dependent difference in q_fi64, which I can't do much about
2025-03-12 04:21:28 +02:00
dzaima
bfce527096 fix 𝕗⌾(-2⋆63)𝕩 2025-03-12 03:01:11 +02:00
dzaima
e33b3b95ee relax documented RangeFn behavior to align with NEON impl 2025-03-12 02:10:05 +02:00
dzaima
a6202c8ca6 fix error message of ⌾(oob⊸⊏) 2025-03-12 01:41:52 +02:00
dzaima
76fc956e7c note about test_range test needing a specific build 2025-03-12 01:04:19 +02:00
dzaima
cca858ceee test system improvements
- tolerate an existing ".bqn" in arguments
- actually assert test in fuzz/scan.bqn
2025-03-11 23:41:11 +02:00
dzaima
f5fdd50f75 test alternating fills of ˝ 2025-03-11 04:39:34 +02:00
dzaima
bcf32838f4 some more ˝ tests, use COPY_TO
not much of a difference, but prettier
2025-03-11 00:15:45 +02:00
dzaima
6d7983fd48 test for scan overflow checking in tail 2025-03-06 04:02:32 +02:00
dzaima
26cd40dfd3 tests for single-element-cell scans 2025-03-04 20:16:13 +02:00
dzaima
05a9cd736b more spaces around names between name and 𝕨/𝕩 in error messages 2025-03-02 19:57:38 +02:00
dzaima
bdf9a52625 more proper error messages for /⁼𝕩 2025-03-02 19:50:01 +02:00
dzaima
17ec5f0a8a add 𝕩 to error messages of <⁼𝕩, ⋈⁼𝕩, ≍⁼𝕩 2025-03-02 19:32:49 +02:00
dzaima
9826c4ce0e add 𝕨/𝕩 in dyadic ⌽/⌽⁼ error message 2025-03-02 19:29:49 +02:00
dzaima
74483f3859 more spaces between 𝕨/𝕩 and names, re-remove •SH args
sh_c1 calls sh_c2, so the arity isn't function-specific
2025-02-07 07:57:51 +02:00
dzaima
e3a4132722 clean up error messages
incl. correcting •_timed's message being wrong
2025-02-06 12:32:19 +02:00
tankorsmash
308f93368e ran test error message updater 2025-02-05 20:05:03 -05:00
dzaima
d506691690 fix 𝕨⍋𝕩 issues around NaNs 2025-02-01 20:55:36 +02:00
dzaima
dcbceccff8 fix integer wrapping in grade sum check 2025-01-24 03:49:25 +02:00
dzaima
8b0d0399e4 fix various F⌾(G⊸Specialized)x 2025-01-16 22:16:49 +02:00
dzaima
d1a9669e76 fix •math.LCM on arrays 2024-12-13 07:40:43 +02:00
dzaima
5ecd1858ef fix 1⌾(⟨0⟩⊸⊏)⟨0⟩ 2024-12-07 06:54:07 +02:00
dzaima
86c7b47771 make •FFI properly error on non-list 𝕩 2024-12-04 00:14:00 +02:00
dzaima
81abc80863 fast highrank⊸⊏˘ table 2024-12-02 21:57:44 +02:00
dzaima
d988a620fd native F⌾(a⊸⥊) 2024-11-26 18:08:15 +02:00
dzaima
58f96abe8c fix error message on missing absolute base path 2024-11-23 06:19:39 +02:00
dzaima
b72fe465a2 fix /⁼1e4⥊1‿2 on NEON 2024-11-14 22:45:43 +02:00
dzaima
cbac419b4a fix ⍷2‿0⥊x 2024-11-06 22:34:55 +02:00
dzaima
52f318e755 EACH_FILLS tests 2024-10-14 05:09:03 +03:00
dzaima
503bddced5 bring back atomEqualF fast path 2024-10-10 04:00:43 +03:00
dzaima
82bf0d301c more comparison tests 2024-10-10 03:46:47 +03:00
dzaima
5a6f3fd978 move comparison test section to beside total array comparison 2024-10-10 03:46:47 +03:00
dzaima
c46182d070 more •Decompose tests 2024-10-10 02:38:17 +03:00
dzaima
398f541cec make tests handle usz=64 differences 2024-10-10 01:33:17 +03:00
dzaima
03fc22662b add •internal.Properties for better build parameter detecting 2024-10-10 01:33:17 +03:00
dzaima
1b1cda8a90 get tests to pass with PROPER_FILLS 2024-10-09 02:42:17 +03:00
dzaima
36e8ad59f7 repeated sort tests 2024-10-09 02:42:17 +03:00
dzaima
183f64c1f9 make ⟨⟩≡∾⟨⟩ under PROPER_FILLS 2024-10-09 02:42:17 +03:00
dzaima
b94ba4ed56 proper refcount=1 𝔽¨ test 2024-10-09 02:42:17 +03:00
dzaima
7eb9212388 ⍷𝕩 tests 2024-10-09 01:48:23 +03:00
dzaima
7000b8a951 update test/moreCfgs.sh 2024-10-03 19:45:46 +03:00
dzaima
dd0ae0d5a2 FFI_CHECKS test in test/moreCfgs.sh 2024-09-26 03:21:11 +03:00
dzaima
989970f7fd fix ∾2‿2⥊<0‿0⥊⟨⟩ 2024-09-22 01:42:26 +03:00
dzaima
f65906721d some more system value tests 2024-09-22 01:40:21 +03:00
dzaima
e6d3821d52 FFI: invalid character array argument detection 2024-09-22 01:37:13 +03:00
dzaima
5192a1d466 fix x⊸≍˘list & ≍⟜x˘list on non-atom x 2024-09-16 00:41:17 +03:00
dzaima
92be360412 use "at ..." stacktrace display for empty name 2024-09-15 23:22:11 +03:00
dzaima
884d61476f fix flags of take_head 2024-09-14 16:15:11 +03:00
dzaima
fff96b9475 fix ≍˘ error checking, start of generalizing to join_cells 2024-09-13 22:07:35 +03:00
dzaima
0ef7f95fb7 •internal.PureKeep is now a thing 2024-09-13 19:43:10 +03:00
dzaima
215a3cad3b fix interleave_cells generic path 2024-09-13 19:39:08 +03:00
dzaima
c0e3a3711f fast scalar≍˘arr & arr≍˘scalar & different-type arr≍˘arr 2024-09-12 05:38:34 +03:00
dzaima
41785cb4bf Singeli const¨⌾(m⊸/)b 2024-09-10 01:45:56 +03:00
dzaima
ad16bc109a don't test invalid •bit._cast
was doing 1‿n•bit._cast ↕128
2024-09-09 17:55:26 +03:00
dzaima
a3be4dbd96 test/run.bqn: make update-messages not break horribly with heapverify 2024-09-09 17:55:26 +03:00
dzaima
79b0bda0d3 fix •file.MapBytes 2024-08-23 04:20:44 +03:00
dzaima
09bdeb7fd8 more usz overflow checking 2024-08-23 03:59:57 +03:00
dzaima
06689960a5 native ≍⁼⍟k 𝕩 2024-08-23 02:44:49 +03:00
dzaima
6ead1baa11 native ≍⁼ 2024-08-23 02:21:48 +03:00
dzaima
9672f07c1b add select-bit-cells test 2024-08-14 05:18:13 +03:00
dzaima
5748833060 fast inds⊸⊏˘bits for ≤8-bit input & output cells 2024-08-14 05:18:13 +03:00
dzaima
920a89f019 native ⋈⁼ & ⌾⋈
plus some more undo & under tests
2024-08-14 05:18:13 +03:00
dzaima
315ab8563a separate fuzz test files
also remove out-of-date stuff from test/run.bqn help
2024-07-29 01:52:02 +03:00
dzaima
bc81b26a03 use fast path for inds⊸⊏˘el_B and ⌽˘el_B 2024-07-29 01:51:59 +03:00
dzaima
6900ae4b68 fix ⌽˘ 0‿10⥊2 and (↕0)⊸⊏˘ 10‿10⥊2 2024-07-29 00:45:01 +03:00
dzaima
52f36c61c0 fix 0‿1⊸⊏˘3‿1⥊2; accept any non-empty array x in select_rows_typed→select_rows_direct 2024-07-29 00:25:09 +03:00
dzaima
3a722b552f ⌽⎉1 x via (⌽↕¯1⊑≢x)⊸⊏⎉1 x 2024-07-28 22:24:34 +03:00
dzaima
8fd522cb6a a bit more inds⊸⊏⎉k testing 2024-07-28 00:55:37 +03:00
dzaima
d1d8e8be03 fix assertion on F⌾(⟨⟩⊸⊏) x 2024-07-26 23:25:26 +03:00
dzaima
93fca7c628 fix overflow in index widening 2024-07-26 22:17:49 +03:00
dzaima
7bb5a1d9d8 more tests for ⊏ 2024-07-26 00:01:54 +03:00
dzaima
2b323817ca make 𝕨⊏𝕩 error messages not differ across types 2024-07-26 00:01:54 +03:00
dzaima
a9fbd0301d fix ∾˝⎉k refcounting 2024-07-15 00:56:02 +03:00
dzaima
59515acc90 test variations of erroring ⊏ 2024-07-15 00:52:00 +03:00
dzaima
a8af920dc9 •internal.PureKeep 2024-07-10 00:55:43 +03:00