Changeset 8adea21 in sasview


Ignore:
Timestamp:
Apr 10, 2009 3:45:31 PM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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:
3617aa2
Parents:
d0fd4c9
Message:

added one more test data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/test/utest_ascii.py

    r7a4401e r8adea21  
    4949        self.assertEqual(len(f.x), 5) 
    5050         
     51    def test_truncated_3(self): 
     52        """ 
     53            Test a 6-col ascii file with complex header and  
     54            many lines with 2 or 2 columns in the middle of the data section. 
     55            The business rule says that we should stop 
     56            reading at the last line of header. 
     57        """ 
     58        # Test .ABS file loaded as ascii 
     59        f = self.loader.load("ascii_test_4.abs") 
     60        # The length of the data is 10 
     61        self.assertEqual(len(f.x), 5) 
    5162         
    5263         
Note: See TracChangeset for help on using the changeset viewer.