Gianfrancoalongi / APLUnit

APLUnit - a library to facilitate Unit Testing and Test Driven Development of code written in Dyalog APL, developed together with Morten Kromberg (CTO Dyalog Ltd)
7 stars 5 forks source link

Allow for ⍬ in expect and nexpect values. #18

Closed arcfide closed 10 years ago

arcfide commented 10 years ago

This fixes an issue where expect and nexpect cannot have used as a valid expected value.

Gianfrancoalongi commented 10 years ago

This merge breaks test number 6.

⎕←⎕SE.SALT.Load './*.dyalog'

.UTT.Tests

.... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

After the merge from this pull request

⎕←⎕SE.SALT.Load './*.dyalog'

.UTT.Tests

.... 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1

The 6th test is 'non_equality_TEST' which can be run manually as

  ⎕CS #.UTT
  #.UT.run'non_equality_TEST'

FAILED: non_equality_TEST Expected ┌⊖┐ │0│ └~┘ Got 0

Please correct.

arcfide commented 10 years ago

I am unable to see these test results. Attempting to load or run any of the testing harness fails for me. I am able to run the test manually, but I don't see the same results that you see above. I'm running on Dyalog 64-bit Linux 14.0 Beta 5. I'll see about fixing up this issue, though.

arcfide commented 10 years ago

Okay, the commit I just sent leads to a pass on the test that you mention.

Gianfrancoalongi commented 10 years ago

This is working nicely. Thanks!