[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
functions.
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:
<https://savannah.gnu.org/patch/?9980>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, (continued)
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/27
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, John W. Eaton, 2020/10/27
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2020/10/27
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2020/10/27
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2020/10/28
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/28
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2020/10/28
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/29
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/29
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Markus Mützel, 2020/10/29
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json,
Philip Nienhuis <=
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/31
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Markus Mützel, 2020/10/31
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/31
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/31
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2020/10/31
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2020/10/31