Ignore:
Timestamp:
Apr 5, 2013 10:40:55 AM (12 years ago)
Author:
Anders Markvardsen <anders.markvardsen@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
2b76f98
Parents:
3cf73ee
Message:

Fixed unit test (re #101)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansdataloader/test/utest_averaging.py

    rb517792 rd12f294  
    140140         
    141141        r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) 
    142         s, ds = r(self.data) 
     142        s, ds, npoints = r(self.data) 
    143143        self.assertAlmostEqual(s, 34.278990899999997, 4) 
    144144        self.assertAlmostEqual(ds, 7.8007981835194293, 4) 
     145        self.assertAlmostEqual(npoints, 324.0000, 4)         
    145146     
    146147        r = Boxavg(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) 
Note: See TracChangeset for help on using the changeset viewer.