Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing tests failing #8

Open
ashermancinelli opened this issue Nov 29, 2021 · 1 comment
Open

Throwing tests failing #8

ashermancinelli opened this issue Nov 29, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ashermancinelli
Copy link
Owner

ashermancinelli commented Nov 29, 2021

Here's a log of the failing test as of v0.8.1:

[doctest] doctest version is "2.4.6"
[doctest] run with "--help" for options
[2021-11-29 16:58:28.405] [critical] test=''a'+'c''
[2021-11-29 16:58:28.406] [critical] test='F←-⋄f+2'
[2021-11-29 16:58:28.406] [critical] test='97-'a''
[2021-11-29 16:58:28.406] [critical] test='@-1'
[2021-11-29 16:58:28.406] [critical] test='-'a''
[2021-11-29 16:58:28.406] [critical] test='F←÷⋄-f'
[2021-11-29 16:58:28.406] [critical] test='2×'a''
[2021-11-29 16:58:28.406] [critical] test='÷'b''
[2021-11-29 16:58:28.406] [critical] test='F←√-⋄÷f'
[2021-11-29 16:58:28.406] [critical] test='⋆'π''
[2021-11-29 16:58:28.406] [critical] test=''e'⋆'π''
[2021-11-29 16:58:28.406] [critical] test='F←⌈⋄⌊f'
[2021-11-29 16:58:28.406] [critical] test='F←+⋄G←-⋄f≤g'
[2021-11-29 16:58:28.406] [critical] test='!0'
[2021-11-29 16:58:28.406] [critical] test='"error"!"abc"'
[2021-11-29 16:58:28.406] [critical] test='√'x''
[2021-11-29 16:58:28.406] [critical] test=''a'∧¯1'
[2021-11-29 16:58:28.406] [critical] test='F←-⋄2∨f'
[2021-11-29 16:58:28.406] [critical] test='¬'a''
[2021-11-29 16:58:28.406] [critical] test='2¬'c''
[2021-11-29 16:58:28.406] [critical] test='F←{𝕩}⋄0¬f'
[2021-11-29 16:58:28.407] [critical] test='F←+-⋄|f'
[2021-11-29 16:58:28.407] [critical] test='26|'A''
===============================================================================
/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:529:
TEST CASE:  26|'A'

/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:550: FATAL ERROR: REQUIRE_THROWS( vm::run(cu) ) did NOT throw at all!

[2021-11-29 16:58:28.407] [critical] test='⊑""'
[2021-11-29 16:58:28.407] [critical] test='⊑2‿0⥊⟨⟩'
[2021-11-29 16:58:28.407] [critical] test='+´11'
[2021-11-29 16:58:28.407] [critical] test='-´<'a''
[2021-11-29 16:58:28.407] [critical] test='×´3‿1⥊"abc"'
[2021-11-29 16:58:28.407] [critical] test='2‿3⊢¨4‿5‿6'
[2021-11-29 16:58:28.407] [critical] test='"abcd"-"a"'
[2021-11-29 16:58:28.407] [critical] test='(↕4)×(↕3)⊢⌜↕2'
[2021-11-29 16:58:28.408] [critical] test='10⊑↕10'
[2021-11-29 16:58:28.408] [critical] test='¯11⊑↕10'
[2021-11-29 16:58:28.408] [critical] test='0.5⊑↕10'
[2021-11-29 16:58:28.408] [critical] test=''x'⊑↕10'
[2021-11-29 16:58:28.408] [critical] test='⟨⟩⊑↕10'
[2021-11-29 16:58:28.408] [critical] test='2⊑3+⌜○↕4'
[2021-11-29 16:58:28.408] [critical] test='21‿12‿03≡⟨2‿¯3‿0,1‿2,0‿¯1⟩⊑(10×↕3)+⌜↕4'
[2021-11-29 16:58:28.408] [critical] test='⟨2,⟨3⟩⟩⊑↕4'
[2021-11-29 16:58:28.409] [critical] test='(<2)⊑↕4'
[2021-11-29 16:58:28.409] [critical] test='(≍≍2)⊑↕4'
[2021-11-29 16:58:28.409] [critical] test='↕@'
[2021-11-29 16:58:28.409] [critical] test='↕2.4'
[2021-11-29 16:58:28.409] [critical] test='↕<6'
[2021-11-29 16:58:28.409] [critical] test='↕≍2‿3'
[2021-11-29 16:58:28.409] [critical] test='↕¯1‿2'
[2021-11-29 16:58:28.409] [critical] test='-˙◶÷‿× 4'
[2021-11-29 16:58:28.409] [critical] test='¯3⥊3'
[2021-11-29 16:58:28.410] [critical] test='1.6‿2.5⥊↕4'
[2021-11-29 16:58:28.410] [critical] test='(≍2‿3)⥊↕3'
[2021-11-29 16:58:28.410] [critical] test='"     "≡5⥊""'
[2021-11-29 16:58:28.410] [critical] test='4‿∘⥊↕15'
[2021-11-29 16:58:28.410] [critical] test='>↕¨2‿3'
[2021-11-29 16:58:28.410] [critical] test='>⟨⥊2,3⟩'
[2021-11-29 16:58:28.410] [critical] test='>(≍⋈⊢)↕4'
[2021-11-29 16:58:28.411] [critical] test='1‿0≍1‿2‿3'
[2021-11-29 16:58:28.411] [critical] test='≍⟜≍↕3'
[2021-11-29 16:58:28.411] [critical] test='⌽⎉1.1 ↕4'
[2021-11-29 16:58:28.411] [critical] test='⌽⎉'x' ↕4'
[2021-11-29 16:58:28.411] [critical] test='⌽⎉(<<0) ↕4'
[2021-11-29 16:58:28.411] [critical] test='⌽⎉≍ ↕4'
[2021-11-29 16:58:28.412] [critical] test='⌽⚇2‿2.5 ↕3'
[2021-11-29 16:58:28.412] [critical] test='2+⍟1‿'c'4'
[2021-11-29 16:58:28.412] [critical] test='⋆⍟1.5 2'
[2021-11-29 16:58:28.412] [critical] test='+`4'
[2021-11-29 16:58:28.412] [critical] test='+`<'c''
===============================================================================
/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:1585:
TEST CASE:  +`<'c'

/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:1606: FATAL ERROR: REQUIRE_THROWS( vm::run(cu) ) did NOT throw at all!

[2021-11-29 16:58:28.412] [critical] test='3‿4+`4+⌜○↕3'
[2021-11-29 16:58:28.412] [critical] test='⊏""'
[2021-11-29 16:58:28.412] [critical] test='⊏0‿3⥊""'
[2021-11-29 16:58:28.412] [critical] test='3⊏"abc"'
[2021-11-29 16:58:28.413] [critical] test='1.5⊏"abc"'
[2021-11-29 16:58:28.413] [critical] test=''x'⊏"abc"'
[2021-11-29 16:58:28.413] [critical] test='⟨⥊0,1⟩⊏≍"abc"'
[2021-11-29 16:58:28.413] [critical] test='0‿0<¨⊸⊏"abc"'
[2021-11-29 16:58:28.413] [critical] test='⟨3‿¯∞,⟨⟩⟩⊏4‿3⥊0'
[2021-11-29 16:58:28.414] [critical] test='(≍≍<5‿1)⊏↕6‿2'
[2021-11-29 16:58:28.414] [critical] test='2.5↑"abce"'
[2021-11-29 16:58:28.414] [critical] test='2‿'c'↑"abcd"'
[2021-11-29 16:58:28.414] [critical] test='(≍2‿3)↑"abcd"'
[2021-11-29 16:58:28.414] [critical] test='0.1↓"abcd"'
[2021-11-29 16:58:28.415] [critical] test='⟨∘⟩↓"abcd"'
[2021-11-29 16:58:28.415] [critical] test='@↕↕5'
[2021-11-29 16:58:28.415] [critical] test='2‿1↕↕5'
[2021-11-29 16:58:28.415] [critical] test='¯1↕↕5'
[2021-11-29 16:58:28.415] [critical] test='7↕↕5'
[2021-11-29 16:58:28.415] [critical] test=''a'«'b''
[2021-11-29 16:58:28.415] [critical] test='"a"»'b''
[2021-11-29 16:58:28.415] [critical] test='≍⊸»"abc"'
[2021-11-29 16:58:28.415] [critical] test='⌽'a''
[2021-11-29 16:58:28.415] [critical] test='⌽<∞'
[2021-11-29 16:58:28.415] [critical] test='2⌽'a''
[2021-11-29 16:58:28.416] [critical] test='1‿2⌽↕4'
[2021-11-29 16:58:28.416] [critical] test='⌽‿2⌽3+⌜○↕4'
[2021-11-29 16:58:28.416] [critical] test='(<<3)⌽↕4'
[2021-11-29 16:58:28.416] [critical] test='/2'
[2021-11-29 16:58:28.416] [critical] test='/1‿¯1‿0'
[2021-11-29 16:58:28.416] [critical] test='/=⌜˜↕2'
[2021-11-29 16:58:28.416] [critical] test='2/<2'
[2021-11-29 16:58:28.416] [critical] test='0‿1/"abc"'
[2021-11-29 16:58:28.416] [critical] test='⟨↕3,↕3⟩/"abc"'
[2021-11-29 16:58:28.417] [critical] test='1‿2/○≍"ab"'
[2021-11-29 16:58:28.417] [critical] test='¯1‿2/"ab"'
[2021-11-29 16:58:28.417] [critical] test='∾'c''
[2021-11-29 16:58:28.417] [critical] test='∾"abc"'
[2021-11-29 16:58:28.417] [critical] test='∾≍"ab"‿"cde"‿""'
[2021-11-29 16:58:28.418] [critical] test='∾⟨2‿3,1‿3,2‿2⟩⥊¨0'
[2021-11-29 16:58:28.419] [critical] test=''a'∾≍"abc"'
[2021-11-29 16:58:28.419] [critical] test='"ab"∾○≍"cde"'
[2021-11-29 16:58:28.419] [critical] test='(2‿3⥊↕6)∾↕2'
[2021-11-29 16:58:28.419] [critical] test='⊔3'
[2021-11-29 16:58:28.420] [critical] test='⊔<3'
[2021-11-29 16:58:28.420] [critical] test='⊔≍↕3'
[2021-11-29 16:58:28.420] [critical] test='⊔1.5‿0‿2'
[2021-11-29 16:58:28.420] [critical] test='⊔1‿¯2'
[2021-11-29 16:58:28.421] [critical] test='⊔˜'a'‿1‿0'
[2021-11-29 16:58:28.421] [critical] test='4⊔○↕2'
[2021-11-29 16:58:28.421] [critical] test='⟨1‿2,3‿1⟩⊔2‿3⥊0'
[2021-11-29 16:58:28.422] [critical] test='⟨1‿2,3‿4‿5,6‿7⟩⊔2‿3⥊0'
[2021-11-29 16:58:28.422] [critical] test='≍⊸⊔≍˘↕3'
[2021-11-29 16:58:28.422] [critical] test='⟨⟨<3,2⟩,¯1‿0‿¯1⟩⊔2‿3‿4⥊↕24'
[2021-11-29 16:58:28.424] [critical] test='(2‿3⥊↕4)⊔↕2‿2'
[2021-11-29 16:58:28.424] [critical] test='(3‿3⥊↕4)⊔↕2‿2'
[2021-11-29 16:58:28.425] [critical] test='⊐˜'a''
[2021-11-29 16:58:28.425] [critical] test='⊏⊸⊐"abc"'
[2021-11-29 16:58:28.425] [critical] test='(3‿2‿4⥊0)⊐4⥊1'
[2021-11-29 16:58:28.425] [critical] test='⊐+˙@'
[2021-11-29 16:58:28.425] [critical] test='(↕5)∊1'
[2021-11-29 16:58:28.425] [critical] test='2∊≍˘↕4'
[2021-11-29 16:58:28.426] [critical] test='∊<4'
[2021-11-29 16:58:28.426] [critical] test='⍷'a''
[2021-11-29 16:58:28.426] [critical] test='≍⊸⍷"abc"'
[2021-11-29 16:58:28.426] [critical] test='0‿¯1‿1⍉(3⥊1)⥊1'
[2021-11-29 16:58:28.426] [critical] test='1‿0≍˘⊸⍉"ab"≍"cd"'
[2021-11-29 16:58:28.427] [critical] test='0‿2⍉+⌜˜↕3'
[2021-11-29 16:58:28.427] [critical] test='2‿0‿0⍉↕↕3'
[2021-11-29 16:58:28.428] [critical] test='3⍉↕↕3'
[2021-11-29 16:58:28.428] [critical] test='⍋'a''
[2021-11-29 16:58:28.428] [critical] test='⍋'a'‿∘'
===============================================================================
/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:3351:
TEST CASE:  ⍋'a'‿∘

/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:3372: FATAL ERROR: REQUIRE_THROWS( vm::run(cu) ) did NOT throw at all!

[2021-11-29 16:58:28.428] [critical] test='⍒2'
[2021-11-29 16:58:28.428] [critical] test='∧⊏⟨+⟩'
[2021-11-29 16:58:28.428] [critical] test='∧+‿-'
[2021-11-29 16:58:28.429] [critical] test='∨'c''
[2021-11-29 16:58:28.429] [critical] test='⍋˜6'
[2021-11-29 16:58:28.429] [critical] test='⍒⟜↕4'
[2021-11-29 16:58:28.429] [critical] test='(3‿2‿4⥊0)⍋4⥊1'
[2021-11-29 16:58:28.429] [critical] test='(3‿2‿4⥊0)⍒1'
[2021-11-29 16:58:28.430] [critical] test='⟨+⟩⍋↕6'
[2021-11-29 16:58:28.430] [critical] test='⟨1‿3‿1,1‿3‿2⟩⍒⟨1‿3‿{𝕩}⟩'
[2021-11-29 16:58:28.431] [critical] test='⍉⌾≍ "abc"'
[2021-11-29 16:58:28.431] [critical] test='-⌾⊏ 4'
[2021-11-29 16:58:28.431] [critical] test='↕∘≠⊸+⌾(10⊸⥊)↕6'
[2021-11-29 16:58:28.432] [critical] test='↕∘≠⊸+⌾(2⊸/)↕5'
[2021-11-29 16:58:28.433] [critical] test='1⊸⌽⌾(1‿3‿3‿0⊸⊏)"abcd"'
[2021-11-29 16:58:28.433] [critical] test='⌽⌾(1↓4↑⊢)"abc"'
===============================================================================
/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:3745:
TEST CASE:  ⌽⌾(1↓4↑⊢)"abc"

/home/asher/workspace/cxbqn/test/test_prim_setprims_throws.cpp:3768: FATAL ERROR: REQUIRE_THROWS( vm::run(cu) ) did NOT throw at all!

===============================================================================
[doctest] test cases: 154 | 150 passed | 4 failed | 0 skipped
[doctest] assertions: 154 | 150 passed | 4 failed |
[doctest] Status: FAILURE!
@ashermancinelli
Copy link
Owner Author

These should be pretty easy to fix.

@ashermancinelli ashermancinelli added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant