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

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

[Octave-bug-tracker] [bug #38291] Failing test in scripts/plot/stemleaf.


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #38291] Failing test in scripts/plot/stemleaf.m
Date: Sat, 09 Feb 2013 15:44:17 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0

URL:
  <http://savannah.gnu.org/bugs/?38291>

                 Summary: Failing test in scripts/plot/stemleaf.m
                 Project: GNU Octave
            Submitted by: jbect
            Submitted on: sam. 09 févr. 2013 15:44:16 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I get the following test failure when doing "make check" (or "test
stemleaf"):


>>>>> processing /media/data/sources/octave2/scripts/plot/stemleaf.m
  ***** test
 ## negative values from 0
 x = [22 12 28 52  39 2 12 0 11 11 42 38 44 18 44];
 x = -x;
 r2 = ["stem step: 10, data: unsorted.\nHinges:    lo: -42, hi: -11\n";...
 "  -5 | 2";"  -4 | 244";"  -3 | 98";"  -2 | 28";"  -1 | 22118";"  -0 | 20"];
 rx = stemleaf (x, 0);
 assert(r2, rx);
!!!!! test failed
assert (r2,rx) expected
stem step: 10, data: unsorted.
Hinges:    lo: -42, hi: -11

  -5 | 2                                                   
  -4 | 244                                                 
  -3 | 98                                                  
  -2 | 28                                                  
  -1 | 22118                                               
  -0 | 2                                                   
but got
stem step: 10, data: unsorted.
Hinges:    lo: -42, hi: -11

  -5 | 2                                                   
  -4 | 244                                                 
  -3 | 98                                                  
  -2 | 28                                                
  -1 | 22118                                               
  -0 | 20             





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38291>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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