Add a New Comment (Rich Markup)
closing as fixed with latest release of statistics
Pushed https://sourceforge.net/p/octave/statistics/ci/dc47be5bcb7baef29eaf12f9477dc8623f8fb6db/
A unit test of the function grp2idx of the statistics package (version 1.3.0) is failing with the following error message:
octave:1> pkg load statistics octave:2> test ("grp2idx") ***** assert (nthargout (1:3, @grp2idx, ["sci"; "oct"; "sci"; "oct"; "oct"]), {[1; 2; 1; 2; 2] {"sci"; "oct"} ["sci"; "oct"]}); !!!!! test failed ASSERT errors for: assert (cond {i},expected {i},tol) Location | Observed | Expected | Reason (1) 2 1 Abs err 1 exceeds tol 0 (2) 1 2 Abs err 1 exceeds tol 0 (3) 2 1 Abs err 1 exceeds tol 0 (4) 1 2 Abs err 1 exceeds tol 0 (5) 1 2 Abs err 1 exceeds tol 0 ASSERT errors for: assert (cond {i},expected {i},tol) Location | Observed | Expected | Reason [] oct sci Strings don't match ASSERT errors for: assert (cond {i},expected {i},tol) Location | Observed | Expected | Reason [] sci oct Strings don't match ASSERT errors for: assert (cond {i},expected {i},tol) Location | Observed | Expected | Reason [] osccti soccit Strings don't match
However, it is stated in the comment of the test block:
## FIXME this fails because unique() in core does not yet have set_order ## option implemented. See code for code to uncomment once it is ## implemented in core.
In this case, the failing tests should be run with 'xtest', instead of 'test'. The attached patch fixes this.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 5 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12