Changeset 8e09f63 in sasview for DataLoader/test
- Timestamp:
- Apr 11, 2009 8:33:42 AM (16 years ago)
- 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:
- fa58441
- Parents:
- 27eba36
- Location:
- DataLoader/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/test/ascii_test_4.abs
rd0fd4c9 r8e09f63 1 5 3.643 0.0286 0.002291 0.01199 12 0.0205 2.6953 0.02225 2.528 0.01782 0.002404 0.02236 11 51 3.643 0.0286 0.002291 0.01199 1 2 0.02051 2.695 3 0.022251 2.528 0.01782 0.002404 0.02236 1 4 4 FILE CREATED: Mon, Aug 18, 2003 5 5 NSORT-ed ssy2k004.ABS + ssy2k009.ABS + none 6 6 normalized to ssy2k004.ABS 7 7 multiplicative factor 1-2 = 0.88493703 multiplicative factor 2-3 = 1 8 10 3.7429 0.2 3.643 0.0286 0.002291 0.01199 110 0.01265 3.505 0.02989 0.002296 0.01285 111 10 3.74212 5 3.643 0.0286 0.002291 0.01199 113 0.0205 2.695 0.01887 0.002379 0.02062 114 0.02225 2.528 0.01782 0.002404 0.02236 18 102 3.742 9 0.22 3.643 0.0286 0.002291 0.01199 1 10 0.012652 3.505 0.02989 0.002296 0.01285 1 11 102 3.742 12 52 3.643 0.0286 0.002291 0.01199 1 13 0.02052 2.695 0.01887 0.002379 0.02062 1 14 0.022252 2.528 0.01782 0.002404 0.02236 1 15 15 FILE CREATED: Mon, Aug 18, 2003 16 16 NSORT-ed ssy2k004.ABS + ssy2k009.ABS + none 17 17 normalized to ssy2k004.ABS 18 18 multiplicative factor 1-2 = 0.88493703 multiplicative factor 2-3 = 1 19 0.2 3.643 0.0286 0.002291 0.01199 120 0.01265 3.505 0.02989 0.002296 0.01285 121 10 3.742 0.0298922 0.0265 3.505 0.02989 0.002296 0.01285 123 0.01527 3.27 0.02658 0.002318 0.01543 124 0.01265 3.505 0.02989 0.002296 0.01285 125 0.01353 3.428 0.02694 0.002303 0.01371 126 0.02225 2.528 0.01782 0.002404 0.02236 119 0.23 3.643 0.0286 0.002291 0.01199 1 20 0.012653 3.505 0.02989 0.002296 0.01285 1 21 103 3.742 0.02989 22 0.02654 3.505 0.02989 0.002296 0.01285 1 23 0.015274 3.27 0.02658 0.002318 0.01543 1 24 0.012654 3.505 0.02989 0.002296 0.01285 1 25 0.013534 3.428 0.02694 0.002303 0.01371 1 26 0.022254 2.528 0.01782 0.002404 0.02236 1 27 27 normalized to ssy2k004.ABS 28 0.0152 73.27 0.02658 0.002318 0.01543 128 0.015285 3.27 0.02658 0.002318 0.01543 1 -
DataLoader/test/utest_ascii.py
r3617aa2 r8e09f63 22 22 # The length of the data is 10 23 23 self.assertEqual(len(f.x), 10) 24 self.assertEqual(f.x[0],0.002618) 25 self.assertEqual(f.x[9],0.0497) 24 26 25 27 def test_truncated_1(self): … … 36 38 # The length of the data is 10 37 39 self.assertEqual(len(f.x), 5) 40 self.assertEqual(f.x[0],0.002618) 41 self.assertEqual(f.x[4],0.02356) 38 42 39 43 def test_truncated_2(self): … … 48 52 # The length of the data is 5 49 53 self.assertEqual(len(f.x), 5) 54 self.assertEqual(f.x[0],0.002618) 55 self.assertEqual(f.x[4],0.02356) 50 56 51 57 def test_truncated_3(self): … … 60 66 # The length of the data is 5 61 67 self.assertEqual(len(f.x), 5) 68 self.assertEqual(f.x[0],0.02654) 69 self.assertEqual(f.x[4],0.022254) 62 70 63 71 def test_truncated_4(self):
Note: See TracChangeset
for help on using the changeset viewer.