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
This commit is contained in:
dzaima 2025-03-12 04:17:21 +02:00
parent a013eb094e
commit b14ea82218

View File

@ -51,7 +51,7 @@ n←500 ⋄ a←↕n ⋄ i←(-n)+↕2×n ⋄ r←⌽(2×n)⥊a ⋄ ! (⌽a) ≡
!"𝕨⊏𝕩: Indexing out-of-bounds (10∊𝕨, 10≡≠𝕩)" % %USE evar 910 {01(𝕨)𝕩}_evar 10101
!"𝕨⊏𝕩: Indexing out-of-bounds (10∊𝕨, 10≡≠𝕩)" % %USE evar "ab" {𝕨(910)𝕩}_evar 10"foo"
!"𝕨⊏𝕩: Indexing out-of-bounds (4.611686018427388e18∊𝕨, 3≡≠𝕩)" % %USE eqerr {𝕩((3262)) "abc"}_eqerr "abc", {𝕊: "abc"}
!"Integer out of range: 9.223372036854776e18" % %USE eqerr {𝕩((3263)) "abc"}_eqerr "abc", {𝕊: "abc"}
%USE eqerr ! (< {1𝕩((3263)) "abc"}{𝕊: •CurrentError@}¨ "abc", {𝕊: "abc"}) "Integer out of range: 9.223372036854776e18""𝕨⊏𝕩: Indexing out-of-bounds (9.223372036854776e18∊𝕨, 3≡≠𝕩)"
!"Expected integer, got 1.1" % %USE eqerr {𝕩((31.1)) 3}_eqerr 3, {1+𝕩}
!"𝕨⊏𝕩: Indexing out-of-bounds (10∊𝕨, 3≡≠𝕩)" % %USE eqerr {𝕩(101112) 3}_eqerr 3, {1+𝕩}
100+(124) <¨10 %% <¨ 0101102310456789