On 07/27/2018 04:26 PM, Waldek Hebisch wrote:
Ray wrote:
I have a problem illustrated by code at the bottom.=C2=A0 The code is taken=
=20
from the unittest pamphlet.

integ.input
Works but has a more complicated syntax.
(1) -> )expose UnittestCount UnittestAux Unittest
  =C2=A0=C2=A0 UnittestCount is now explicitly exposed in frame frame1
  =C2=A0=C2=A0 UnittestAux is now explicitly exposed in frame frame1
  =C2=A0=C2=A0 Unittest is now explicitly exposed in frame frame1
(1) -> testsuite("test")
  =C2=A0=C2=A0 All user variables and function definitions have been cleared=
.
Type: Void
(2) ->=C2=A0 s1 :=3D "ab"; s2 :=3D concat("a", "b");

Type: String
(3) -> s1

  =C2=A0=C2=A0 (3)=C2=A0 "ab"
Type: String
(4) -> s2

  =C2=A0=C2=A0 (4)=C2=A0 "ab"
Type: String
(5) -> testEquals("s1", "s2")

  =C2=A0=C2=A0 >> Error detected within library code:
  =C2=A0=C2=A0 key not in table

(5) ->
Define testcase???

Okay that worked; but integ.input runs several tests before testcase('xxx") is declared.    I see  the earlier tests, using testIntegrate, carry the testcase() internally and then the later tests declare the testcase() externally and use testEquals().
Sorry, I didn't expect that.

Thanks
Ray

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to