Hello,

I'm wondering why there is only String parameters based routines in
Unittest. What I mean is that from what I have seen the argument(s) to all
routines are of type String:
==================================
testLibraryError : String -> Void
testTrue : String -> Void
 xftestTrue : String -> Void
 testComplexEquals : (String, String) -> Void
 testEquals : (String, String) -> Void
 testNotEquals : (String, String) -> Void
 testRealEquals : (String, String) -> Void
 xftestComplexEquals : (String, String) -> Void
 xftestEquals : (String, String) -> Void
 xftestLibraryError : String -> Void
 xftestNotEquals : (String, String) -> Void
 xftestRealEquals : (String, String) -> Void
===================================

I can understand that, for example Expression(Integer), it is usually the
simplest way to check correctness but I am wondering why there is only this
method.

I explain. I'm continuing to implement a "simple" wrapper to parts of
Julia. And since all computations are done inside Julia and since this is
essentially Float64 based I'm wondering if for my purpose I could provide
my routines which are Julia based and returns Boolean values.

In other words, what I would like is to add to the Unittest framework, at
least, a simple routine say "isTrue" for example but handled by another
module or even coded in the input file. I insist on using the actual
framework with use of UnittestAux and UnittestCount routines I guess.

Any though about why that does not seem to exist actually and why this was
not done? Or even, is this an unnecessary addition?

Regards,
__
Greg

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dbRgXmcqRKRustyi-R0xQrNkwotggDN22TOykekQOM8-A%40mail.gmail.com.

Reply via email to