[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternati

From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json
Date: Fri, 30 Oct 2020 12:26:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #27, patch #9980 (project octave):

>This brings me to a question.  At one time, I had the following BIST:
>    %! r = round(1000*rand(10,10,10,10,10));
>    %! assert(r, fromJSON( toJSON(r)));
>but later took it out to avoid referring to an external function.  >Can I put
it back in? 
If with "external function" you mean "round" and/or "rand", that seem OK to
me. In core Octave many many BIST tests rely on behavior of other core
Same for calling "toJSON" in a BIST for "fromJSON". We want to test  functions
in a real environment where they are all available, isn't it?
Or do I misunderstand your question?


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]