octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63063] ode{23, 45} options "Events", "OutputF


From: Ken Marek
Subject: [Octave-bug-tracker] [bug #63063] ode{23, 45} options "Events", "OutputFcn", and "Refine" do not perform correctly.
Date: Wed, 5 Oct 2022 18:18:09 -0400 (EDT)

Follow-up Comment #24, bug #63063 (project octave):

Yes, I was wondering if the plotting would cause issues. In theory, there
might be an error if the nargout == 0 case were not handled for odexx, but I
guess it's not the greatest test. I don't know of any other way to test that
odeplot is called as the OutputFcn if no return values are requested. Is there
some way to disable all figure visibility, and see if a function tries to
generate a figure while they are turned off? Otherwise we should just get rid
of those tests in odexx.

Similarly with the odeplot BIST, there might be an error if odeplot did not
correctly handle valid input, but I don't think there's any way to do an
assert without generating the plot.

I guess we should just leave those plotting tests off if you can't figure out
how to get a testable assertion either.


As far as the other test goes:

!test  # Details of OutputSel can't be tested

you are correct that it was already there. Once I get my other bug patch
finished I will probably come back and add a test for this one as well. I'm
just trying not to fix anything else here that isn't required, since the patch
has already gotten a bit large.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63063>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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