Source

savReaderWriter / savReaderWriter / unit_tests / test_SavReader_typical_use.py

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
#!/usr/bin/env python
# -*- coding: utf-8 -*-

##############################################################################
## Read a file and iterate over its records (typical use)
##############################################################################

import unittest
from savReaderWriter import *

records_expected = \
    [[b'id', b'gender', b'bdate', b'educ', b'jobcat', b'salary', b'salbegin',
      b'jobtime', b'prevexp', b'minority'],
     [1.0, b'm', b'1952-02-03', 15.0, 3.0, 57000.0, 27000.0, 98.0, 144.0, 0.0],
     [2.0, b'm', b'1958-05-23', 16.0, 1.0, 40200.0, 18750.0, 98.0, 36.0, 0.0],
     [3.0, b'f', b'1929-07-26', 12.0, 1.0, 21450.0, 12000.0, 98.0, 381.0, 0.0],
     [4.0, b'f', b'1947-04-15', 8.0, 1.0, 21900.0, 13200.0, 98.0, 190.0, 0.0],
     [5.0, b'm', b'1955-02-09', 15.0, 1.0, 45000.0, 21000.0, 98.0, 138.0, 0.0],
     [6.0, b'm', b'1958-08-22', 15.0, 1.0, 32100.0, 13500.0, 98.0, 67.0, 0.0],
     [7.0, b'm', b'1956-04-26', 15.0, 1.0, 36000.0, 18750.0, 98.0, 114.0, 0.0],
     [8.0, b'f', b'1966-05-06', 12.0, 1.0, 21900.0, 9750.0, 98.0, 0.0, 0.0],
     [9.0, b'f', b'1946-01-23', 15.0, 1.0, 27900.0, 12750.0, 98.0, 115.0, 0.0],
     [10.0, b'f', b'1946-02-13', 12.0, 1.0, 24000.0, 13500.0, 98.0, 244.0, 0.0],
     [11.0, b'f', b'1950-02-07', 16.0, 1.0, 30300.0, 16500.0, 98.0, 143.0, 0.0],
     [12.0, b'm', b'1966-01-11', 8.0, 1.0, 28350.0, 12000.0, 98.0, 26.0, 1.0],
     [13.0, b'm', b'1960-07-17', 15.0, 1.0, 27750.0, 14250.0, 98.0, 34.0, 1.0],
     [14.0, b'f', b'1949-02-26', 15.0, 1.0, 35100.0, 16800.0, 98.0, 137.0, 1.0],
     [15.0, b'm', b'1962-08-29', 12.0, 1.0, 27300.0, 13500.0, 97.0, 66.0, 0.0],
     [16.0, b'm', b'1964-11-17', 12.0, 1.0, 40800.0, 15000.0, 97.0, 24.0, 0.0],
     [17.0, b'm', b'1962-07-18', 15.0, 1.0, 46000.0, 14250.0, 97.0, 48.0, 0.0],
     [18.0, b'm', b'1956-03-20', 16.0, 3.0, 103750.0, 27510.0, 97.0, 70.0, 0.0],
     [19.0, b'm', b'1962-08-19', 12.0, 1.0, 42300.0, 14250.0, 97.0, 103.0, 0.0],
     [20.0, b'f', b'1940-01-23', 12.0, 1.0, 26250.0, 11550.0, 97.0, 48.0, 0.0],
     [21.0, b'f', b'1963-02-19', 16.0, 1.0, 38850.0, 15000.0, 97.0, 17.0, 0.0],
     [22.0, b'm', b'1940-09-24', 12.0, 1.0, 21750.0, 12750.0, 97.0, 315.0, 1.0],
     [23.0, b'f', b'1965-03-15', 15.0, 1.0, 24000.0, 11100.0, 97.0, 75.0, 1.0],
     [24.0, b'f', b'1933-03-27', 12.0, 1.0, 16950.0, 9000.0, 97.0, 124.0, 1.0],
     [25.0, b'f', b'1942-07-01', 15.0, 1.0, 21150.0, 9000.0, 97.0, 171.0, 1.0],
     [26.0, b'm', b'1966-11-08', 15.0, 1.0, 31050.0, 12600.0, 96.0, 14.0, 0.0],
     [27.0, b'm', b'1954-03-19', 19.0, 3.0, 60375.0, 27480.0, 96.0, 96.0, 0.0],
     [28.0, b'm', b'1963-04-11', 15.0, 1.0, 32550.0, 14250.0, 96.0, 43.0, 0.0],
     [29.0, b'm', b'1944-01-28', 19.0, 3.0, 135000.0, 79980.0, 96.0, 199.0, 0.0],
     [30.0, b'm', b'1961-09-17', 15.0, 1.0, 31200.0, 14250.0, 96.0, 54.0, 0.0],
     [31.0, b'm', b'1964-02-24', 12.0, 1.0, 36150.0, 14250.0, 96.0, 83.0, 0.0],
     [32.0, b'm', b'1954-01-28', 19.0, 3.0, 110625.0, 45000.0, 96.0, 120.0, 0.0],
     [33.0, b'm', b'1961-03-18', 15.0, 1.0, 42000.0, 15000.0, 96.0, 68.0, 0.0],
     [34.0, b'm', b'1949-02-02', 19.0, 3.0, 92000.0, 39990.0, 96.0, 175.0, 0.0],
     [35.0, b'm', b'1961-08-22', 17.0, 3.0, 81250.0, 30000.0, 96.0, 18.0, 0.0],
     [36.0, b'f', b'1963-08-07', 8.0, 1.0, 31350.0, 11250.0, 96.0, 52.0, 0.0],
     [37.0, b'm', b'1954-10-09', 12.0, 1.0, 29100.0, 13500.0, 96.0, 113.0, 1.0],
     [38.0, b'm', b'1962-04-27', 15.0, 1.0, 31350.0, 15000.0, 96.0, 49.0, 1.0],
     [39.0, b'm', b'1960-06-22', 16.0, 1.0, 36000.0, 15000.0, 96.0, 46.0, 1.0],
     [40.0, b'f', b'1933-08-28', 15.0, 1.0, 19200.0, 9000.0, 96.0, 23.0, 1.0],
     [41.0, b'f', b'1961-03-18', 12.0, 1.0, 23550.0, 11550.0, 96.0, 52.0, 1.0],
     [42.0, b'm', b'1960-09-23', 15.0, 1.0, 35100.0, 16500.0, 95.0, 90.0, 0.0],
     [43.0, b'm', b'1964-01-18', 12.0, 1.0, 23250.0, 14250.0, 95.0, 46.0, 0.0],
     [44.0, b'm', b'1963-06-15', 8.0, 1.0, 29250.0, 14250.0, 95.0, 50.0, 0.0],
     [45.0, b'm', b'1938-08-02', 12.0, 2.0, 30750.0, 13500.0, 95.0, 307.0, 0.0],
     [46.0, b'f', b'1940-11-18', 15.0, 1.0, 22350.0, 12750.0, 95.0, 165.0, 0.0],
     [47.0, b'f', b'1938-04-28', 12.0, 1.0, 30000.0, 16500.0, 95.0, 228.0, 0.0],
     [48.0, b'm', b'1947-06-07', 12.0, 2.0, 30750.0, 14100.0, 94.0, 240.0, 0.0],
     [49.0, b'm', b'1958-09-16', 15.0, 1.0, 34800.0, 16500.0, 94.0, 93.0, 0.0],
     [50.0, b'm', b'1960-02-09', 16.0, 3.0, 60000.0, 23730.0, 94.0, 59.0, 0.0],
     [51.0, b'm', b'1962-07-08', 12.0, 1.0, 35550.0, 15000.0, 94.0, 48.0, 0.0],
     [52.0, b'm', b'1963-11-12', 15.0, 1.0, 45150.0, 15000.0, 94.0, 40.0, 0.0],
     [53.0, b'm', b'1954-04-21', 18.0, 3.0, 73750.0, 26250.0, 94.0, 56.0, 0.0],
     [54.0, b'm', b'1931-06-04', 12.0, 1.0, 25050.0, 13500.0, 94.0, 444.0, 0.0],
     [55.0, b'm', b'1960-06-25', 12.0, 1.0, 27000.0, 15000.0, 94.0, 120.0, 0.0],
     [56.0, b'm', b'1962-04-16', 15.0, 1.0, 26850.0, 13500.0, 94.0, 5.0, 0.0],
     [57.0, b'm', b'1963-04-15', 15.0, 1.0, 33900.0, 15750.0, 94.0, 78.0, 0.0],
     [58.0, b'f', b'1964-11-14', 15.0, 1.0, 26400.0, 13500.0, 94.0, 3.0, 0.0],
     [59.0, b'm', b'1961-05-07', 15.0, 1.0, 28050.0, 14250.0, 94.0, 36.0, 1.0],
     [60.0, b'm', b'1959-02-16', 12.0, 1.0, 30900.0, 15000.0, 94.0, 102.0, 1.0],
     [61.0, b'm', b'1964-04-28', 8.0, 1.0, 22500.0, 9750.0, 94.0, 36.0, 1.0],
     [62.0, b'm', b'1962-07-18', 16.0, 3.0, 48000.0, 21750.0, 93.0, 22.0, 0.0],
     [63.0, b'm', b'1961-08-20', 17.0, 3.0, 55000.0, 26250.0, 93.0, 32.0, 0.0],
     [64.0, b'm', b'1963-09-28', 16.0, 3.0, 53125.0, 21000.0, 93.0, 48.0, 0.0],
     [65.0, b'm', b'1964-03-28', 8.0, 1.0, 21900.0, 14550.0, 93.0, 41.0, 0.0],
     [66.0, b'm', b'1962-02-16', 19.0, 3.0, 78125.0, 30000.0, 93.0, 7.0, 0.0],
     [67.0, b'm', b'1964-05-28', 16.0, 3.0, 46000.0, 21240.0, 93.0, 35.0, 0.0],
     [68.0, b'm', b'1963-05-05', 16.0, 3.0, 45250.0, 21480.0, 93.0, 36.0, 0.0],
     [69.0, b'm', b'1960-06-23', 16.0, 3.0, 56550.0, 25000.0, 93.0, 34.0, 0.0],
     [70.0, b'm', b'1962-02-08', 15.0, 1.0, 41100.0, 20250.0, 93.0, 27.0, 0.0],
     [71.0, b'm', b'1948-08-26', 17.0, 3.0, 82500.0, 34980.0, 93.0, 207.0, 0.0],
     [72.0, b'f', b'1964-01-07', 16.0, 1.0, 54000.0, 18000.0, 93.0, 11.0, 0.0],
     [73.0, b'f', b'1968-02-09', 12.0, 1.0, 26400.0, 10500.0, 93.0, 0.0, 0.0],
     [74.0, b'f', b'1933-04-28', 15.0, 1.0, 33900.0, 19500.0, 93.0, 192.0, 0.0],
     [75.0, b'f', b'1965-08-12', 15.0, 1.0, 24150.0, 11550.0, 93.0, 0.0, 0.0],
     [76.0, b'f', b'1967-09-03', 15.0, 1.0, 29250.0, 11550.0, 93.0, 11.0, 0.0],
     [77.0, b'f', b'1968-09-09', 12.0, 1.0, 27600.0, 11400.0, 93.0, 6.0, 0.0],
     [78.0, b'f', b'1968-08-20', 12.0, 1.0, 22950.0, 10500.0, 93.0, 10.0, 0.0],
     [79.0, b'f', b'1962-01-23', 16.0, 1.0, 34800.0, 14550.0, 93.0, 8.0, 0.0],
     [80.0, b'f', b'1961-05-25', 16.0, 1.0, 51000.0, 18000.0, 93.0, 22.0, 0.0],
     [81.0, b'f', b'1968-03-12', 12.0, 1.0, 24300.0, 10950.0, 93.0, 5.0, 0.0],
     [82.0, b'f', b'1947-08-28', 12.0, 1.0, 24750.0, 14250.0, 93.0, 193.0, 1.0],
     [83.0, b'f', b'1967-10-12', 12.0, 1.0, 22950.0, 11250.0, 93.0, 0.0, 1.0],
     [84.0, b'f', b'1967-03-12', 8.0, 1.0, 25050.0, 10950.0, 93.0, 8.0, 1.0],
     [85.0, b'm', b'1962-04-09', 15.0, 1.0, 25950.0, 17100.0, 92.0, 42.0, 0.0],
     [86.0, b'm', b'1961-08-25', 15.0, 1.0, 31650.0, 15750.0, 92.0, 64.0, 0.0],
     [87.0, b'm', b'1959-10-20', 12.0, 1.0, 24150.0, 14100.0, 92.0, 130.0, 0.0],
     [88.0, b'm', b'1962-02-10', 19.0, 3.0, 72500.0, 28740.0, 92.0, 10.0, 0.0],
     [89.0, b'm', b'1961-06-24', 19.0, 3.0, 68750.0, 27480.0, 92.0, 8.0, 0.0],
     [90.0, b'f', b'1938-02-27', 8.0, 1.0, 16200.0, 9750.0, 92.0, 0.0, 0.0],
     [91.0, b'f', b'1967-11-04', 12.0, 1.0, 20100.0, 11250.0, 92.0, 24.0, 0.0],
     [92.0, b'f', b'1968-06-25', 8.0, 1.0, 24000.0, 10950.0, 92.0, 6.0, 0.0],
     [93.0, b'f', b'1968-03-05', 12.0, 1.0, 25950.0, 10950.0, 92.0, 0.0, 0.0],
     [94.0, b'f', b'1950-08-04', 12.0, 1.0, 24600.0, 10050.0, 92.0, 44.0, 0.0],
     [95.0, b'f', b'1968-08-08', 12.0, 1.0, 28500.0, 10500.0, 92.0, 6.0, 0.0],
     [96.0, b'm', b'1933-10-02', 8.0, 2.0, 30750.0, 15000.0, 92.0, 432.0, 1.0],
     [97.0, b'm', b'1953-01-18', 17.0, 1.0, 40200.0, 19500.0, 92.0, 168.0, 1.0],
     [98.0, b'm', b'1956-05-17', 8.0, 2.0, 30000.0, 15000.0, 92.0, 144.0, 1.0],
     [99.0, b'f', b'1968-07-07', 12.0, 1.0, 22050.0, 10950.0, 92.0, 5.0, 1.0],
     [100.0, b'm', b'1963-10-25', 18.0, 3.0, 78250.0, 27480.0, 91.0, 47.0, 0.0],
     [101.0, b'm', b'1960-03-14', 16.0, 3.0, 60625.0, 22500.0, 91.0, 44.0, 0.0],
     [102.0, b'm', b'1963-03-28', 14.0, 1.0, 39900.0, 15750.0, 91.0, 59.0, 0.0],
     [103.0, b'm', b'1959-03-17', 19.0, 3.0, 97000.0, 35010.0, 91.0, 68.0, 0.0],
     [104.0, b'm', b'1962-11-05', 15.0, 1.0, 27450.0, 15750.0, 91.0, 48.0, 0.0],
     [105.0, b'm', b'1966-03-07', 15.0, 1.0, 31650.0, 13500.0, 91.0, 18.0, 0.0],
     [106.0, b'm', b'1962-08-04', 19.0, 3.0, 91250.0, 29490.0, 91.0, 23.0, 0.0],
     [107.0, b'f', b'1960-08-16', 12.0, 1.0, 25200.0, 14400.0, 91.0, 83.0, 0.0],
     [108.0, b'f', b'1930-07-16', 12.0, 1.0, 21000.0, 11550.0, 91.0, 108.0, 0.0],
     [109.0, b'm', b'1963-11-10', 12.0, 1.0, 30450.0, 15000.0, 91.0, 49.0, 1.0],
     [110.0, b'm', b'1952-10-29', 15.0, 1.0, 28350.0, 18000.0, 91.0, 151.0, 1.0],
     [111.0, b'm', b'1940-11-27', 12.0, 2.0, 30750.0, 9000.0, 91.0, 314.0, 1.0],
     [112.0, b'm', b'1948-06-21', 12.0, 2.0, 30750.0, 15000.0, 91.0, 240.0, 1.0],
     [113.0, b'm', b'1959-10-06', 16.0, 3.0, 54875.0, 27480.0, 90.0, 68.0, 0.0],
     [114.0, b'm', b'1961-08-25', 14.0, 1.0, 37800.0, 16500.0, 90.0, 60.0, 0.0],
     [115.0, b'm', b'1961-05-12', 15.0, 1.0, 33450.0, 14100.0, 90.0, 85.0, 0.0],
     [116.0, b'm', b'1962-06-09', 15.0, 1.0, 30300.0, 16500.0, 90.0, 16.0, 0.0],
     [117.0, b'f', b'1932-01-14', 12.0, 1.0, 31500.0, 18750.0, 90.0, 205.0, 0.0],
     [118.0, b'f', b'1964-03-04', 12.0, 1.0, 31650.0, 14250.0, 90.0, 48.0, 0.0],
     [119.0, b'f', b'1963-07-23', 12.0, 1.0, 25200.0, 14100.0, 90.0, 55.0, 0.0],
     [120.0, b'f', b'1964-11-12', 16.0, 3.0, 37800.0, 15750.0, 90.0, 7.0, 0.0],
     [121.0, b'f', b'1936-08-06', 15.0, 1.0, 18750.0, 10500.0, 90.0, 54.0, 0.0],
     [122.0, b'f', b'1965-09-26', 15.0, 1.0, 32550.0, 13500.0, 90.0, 22.0, 0.0],
     [123.0, b'f', b'1949-04-24', 12.0, 1.0, 33300.0, 15000.0, 90.0, 3.0, 0.0],
     [124.0, b'f', b'1963-05-29', 16.0, 1.0, 38550.0, 16500.0, 90.0, 0.0, 0.0],
     [125.0, b'm', b'1956-08-06', 12.0, 1.0, 27450.0, 15000.0, 90.0, 173.0, 1.0],
     [126.0, b'm', b'1951-01-21', 15.0, 2.0, 24300.0, 15000.0, 90.0, 191.0, 1.0],
     [127.0, b'm', b'1950-09-01', 12.0, 2.0, 30750.0, 15000.0, 90.0, 209.0, 1.0],
     [128.0, b'f', b'1946-07-25', 12.0, 1.0, 19650.0, 9750.0, 90.0, 229.0, 1.0],
     [129.0, b'm', b'1959-07-18', 17.0, 3.0, 68750.0, 27510.0, 89.0, 38.0, 0.0],
     [130.0, b'm', b'1958-09-06', 20.0, 3.0, 59375.0, 30000.0, 89.0, 6.0, 0.0],
     [131.0, b'm', b'1962-02-08', 15.0, 1.0, 31500.0, 15750.0, 89.0, 22.0, 0.0],
     [132.0, b'm', b'1953-05-17', 12.0, 1.0, 27300.0, 17250.0, 89.0, 175.0, 0.0],
     [133.0, b'm', b'1959-09-12', 15.0, 1.0, 27000.0, 15750.0, 89.0, 87.0, 0.0],
     [134.0, b'f', b'1941-11-10', 16.0, 3.0, 41550.0, 24990.0, 89.0, 285.0, 0.0],
     [135.0, b'f', b'1968-05-22', 12.0, 1.0, 26250.0, 10950.0, 89.0, 0.0, 0.0],
     [136.0, b'm', b'1939-08-25', 12.0, 1.0, 22200.0, 15000.0, 88.0, 324.0, 0.0],
     [137.0, b'm', b'1937-07-12', 21.0, 3.0, 65000.0, 37500.0, 88.0, 264.0, 0.0],
     [138.0, b'm', b'1947-01-09', 12.0, 1.0, 30900.0, 15000.0, 88.0, 252.0, 0.0],
     [139.0, b'f', b'1931-06-18', 8.0, 1.0, 20100.0, 13200.0, 88.0, 90.0, 0.0],
     [140.0, b'f', b'1965-04-05', 12.0, 1.0, 22350.0, 13500.0, 88.0, 26.0, 0.0],
     [141.0, b'f', b'1966-06-14', 15.0, 1.0, 35550.0, 13350.0, 88.0, 32.0, 0.0],
     [142.0, b'f', b'1966-11-13', 12.0, 1.0, 28500.0, 13950.0, 88.0, 34.0, 0.0],
     [143.0, b'f', b'1939-08-24', 12.0, 1.0, 24450.0, 13200.0, 88.0, 107.0, 0.0],
     [144.0, b'f', b'1931-08-28', 8.0, 1.0, 16650.0, 9750.0, 88.0, 412.0, 0.0],
     [145.0, b'm', b'1964-01-15', 12.0, 1.0, 26700.0, 13500.0, 88.0, 38.0, 1.0],
     [146.0, b'm', b'1951-01-02', 18.0, 1.0, 43950.0, 23250.0, 88.0, 182.0, 1.0],
     [147.0, b'm', b'1936-09-11', 15.0, 1.0, 23700.0, 13500.0, 88.0, 359.0, 1.0],
     [148.0, b'f', b'1959-10-05', 15.0, 1.0, 26550.0, 14250.0, 88.0, 61.0, 1.0],
     [149.0, b'm', b'1962-06-28', 12.0, 1.0, 27600.0, 15000.0, 87.0, 75.0, 0.0],
     [150.0, b'm', b'1954-03-05', 12.0, 1.0, 25800.0, 15000.0, 87.0, 143.0, 0.0],
     [151.0, b'm', b'1954-08-16', 16.0, 3.0, 42300.0, 26250.0, 87.0, 126.0, 0.0],
     [152.0, b'm', b'1929-05-03', 8.0, 2.0, 30750.0, 15000.0, 87.0, 451.0, 0.0],
     [153.0, b'f', b'1967-05-13', 12.0, 1.0, 26700.0, 12900.0, 87.0, 18.0, 0.0],
     [154.0, b'f', b'1940-06-07', 12.0, 1.0, 20850.0, 12000.0, 87.0, 163.0, 0.0],
     [155.0, b'm', b'1963-03-06', 15.0, 1.0, 35250.0, 15000.0, 87.0, 54.0, 1.0],
     [156.0, b'm', b'1963-01-12', 15.0, 1.0, 26700.0, 15000.0, 87.0, 56.0, 1.0],
     [157.0, b'f', b'1967-07-02', 12.0, 1.0, 26550.0, 13050.0, 87.0, 11.0, 1.0],
     [158.0, b'f', b'1964-09-20', 12.0, 1.0, 27750.0, 12000.0, 87.0, 11.0, 1.0],
     [159.0, b'f', b'1951-01-13', 16.0, 1.0, 25050.0, 12750.0, 87.0, 123.0, 1.0],
     [160.0, b'm', b'1951-08-27', 16.0, 3.0, 66000.0, 47490.0, 86.0, 150.0, 0.0],
     [161.0, b'm', b'1963-02-11', 16.0, 1.0, 52650.0, 19500.0, 86.0, 20.0, 0.0],
     [162.0, b'm', b'1961-05-25', 16.0, 3.0, 45625.0, 23250.0, 86.0, 60.0, 0.0],
     [163.0, b'm', b'1965-11-10', 15.0, 1.0, 30900.0, 15000.0, 86.0, 25.0, 0.0],
     [164.0, b'f', b'1965-08-13', 15.0, 1.0, 29400.0, 16500.0, 86.0, 24.0, 0.0],
     [165.0, b'f', b'1966-04-29', 15.0, 1.0, 33300.0, 13500.0, 86.0, 24.0, 0.0],
     [166.0, b'f', b'1942-07-12', 12.0, 1.0, 21900.0, 9750.0, 86.0, 156.0, 0.0],
     [167.0, b'f', b'1932-08-26', 12.0, 1.0, 18150.0, 9750.0, 86.0, 72.0, 0.0],
     [168.0, b'f', b'1962-04-23', 16.0, 3.0, 46875.0, 17250.0, 86.0, 19.0, 0.0],
     [169.0, b'm', b'1965-05-23', 12.0, 1.0, 25500.0, 14400.0, 86.0, 37.0, 1.0],
     [170.0, b'm', b'1964-06-13', 12.0, 1.0, 26550.0, 15000.0, 86.0, 38.0, 1.0],
     [171.0, b'm', b'1930-01-21', 12.0, 1.0, 26700.0, 13500.0, 86.0, 367.0, 1.0],
     [172.0, b'f', b'1953-06-13', 15.0, 1.0, 29850.0, 15000.0, 86.0, 79.0, 1.0],
     [173.0, b'm', b'1950-01-15', 20.0, 3.0, 69250.0, 42480.0, 85.0, 134.0, 0.0],
     [174.0, b'm', b'1935-01-07', 8.0, 2.0, 31950.0, 15000.0, 85.0, 438.0, 0.0],
     [175.0, b'm', b'1938-01-08', 8.0, 1.0, 26250.0, 15600.0, 85.0, 171.0, 0.0],
     [176.0, b'f', b'1962-10-05', 16.0, 1.0, 35700.0, 17250.0, 85.0, 19.0, 0.0],
     [177.0, b'f', b'1962-08-11', 12.0, 1.0, 28500.0, 16500.0, 85.0, 69.0, 0.0],
     [178.0, b'f', b'1938-01-17', 12.0, 1.0, 17100.0, 10200.0, 85.0, 72.0, 0.0],
     [179.0, b'm', b'1965-01-19', 12.0, 1.0, 25200.0, 13050.0, 85.0, 29.0, 1.0],
     [180.0, b'f', b'1960-01-23', 12.0, 1.0, 24000.0, 12750.0, 85.0, 59.0, 1.0],
     [181.0, b'f', b'1939-01-04', 12.0, 1.0, 27450.0, 10200.0, 85.0, 101.0, 1.0],
     [182.0, b'f', b'1943-03-08', 12.0, 1.0, 18450.0, 10200.0, 85.0, 228.0, 1.0],
     [183.0, b'm', b'1960-03-01', 15.0, 1.0, 39300.0, 15750.0, 84.0, 72.0, 0.0],
     [184.0, b'm', b'1964-11-05', 15.0, 1.0, 38850.0, 15000.0, 84.0, 53.0, 0.0],
     [185.0, b'm', b'1930-08-28', 8.0, 2.0, 30750.0, 15000.0, 84.0, 380.0, 0.0],
     [186.0, b'm', b'1964-07-06', 15.0, 1.0, 37500.0, 20400.0, 84.0, 33.0, 0.0],
     [187.0, b'm', b'1963-07-29', 16.0, 3.0, 58750.0, 21750.0, 84.0, 13.0, 0.0],
     [188.0, b'f', b'1934-02-04', 12.0, 1.0, 34500.0, 18750.0, 84.0, 208.0, 0.0],
     [189.0, b'f', b'1950-03-28', 12.0, 1.0, 36000.0, 19980.0, 84.0, 240.0, 0.0],
     [190.0, b'f', b'1932-11-15', 8.0, 1.0, 29100.0, 16500.0, 84.0, 35.0, 0.0],
     [191.0, b'f', b'1931-10-23', 12.0, 1.0, 16500.0, 10200.0, 84.0, 288.0, 0.0],
     [192.0, b'm', b'1949-10-09', 12.0, 1.0, 19650.0, 12750.0, 84.0, 180.0, 1.0],
     [193.0, b'f', b'1966-07-22', 12.0, 1.0, 24750.0, 12000.0, 84.0, 41.0, 1.0],
     [194.0, b'f', b'1938-04-10', 15.0, 1.0, 27150.0, 15750.0, 84.0, 231.0, 1.0],
     [195.0, b'f', b'1955-11-06', 12.0, 1.0, 26400.0, 12750.0, 84.0, 36.0, 1.0],
     [196.0, b'f', b'1946-03-03', 16.0, 1.0, 23100.0, 12000.0, 84.0, 214.0, 1.0],
     [197.0, b'm', b'1962-10-01', 15.0, 3.0, 54900.0, 25500.0, 83.0, 49.0, 0.0],
     [198.0, b'm', b'1952-03-17', 19.0, 3.0, 70875.0, 43500.0, 83.0, 156.0, 0.0],
     [199.0, b'm', b'1958-02-02', 16.0, 3.0, 51250.0, 27480.0, 83.0, 69.0, 0.0],
     [200.0, b'm', b'1963-02-13', 17.0, 3.0, 67500.0, 34980.0, 83.0, 9.0, 0.0],
     [201.0, b'm', b'1955-05-08', 12.0, 1.0, 29340.0, 19500.0, 83.0, 150.0, 0.0],
     [202.0, b'm', b'1963-03-17', 15.0, 1.0, 39600.0, 16500.0, 83.0, 47.0, 0.0],
     [203.0, b'm', b'1964-03-17', 12.0, 1.0, 29100.0, 15000.0, 83.0, 50.0, 0.0],
     [204.0, b'm', b'1960-10-21', 15.0, 1.0, 33150.0, 16500.0, 83.0, 69.0, 0.0],
     [205.0, b'm', b'1944-06-22', 16.0, 3.0, 66750.0, 52500.0, 83.0, 258.0, 0.0],
     [206.0, b'm', b'1943-05-22', 12.0, 2.0, 33750.0, 15000.0, 83.0, 284.0, 0.0],
     [207.0, b'm', b'1959-02-15', 15.0, 1.0, 27300.0, 17250.0, 83.0, 91.0, 0.0],
     [208.0, b'f', b'1968-11-28', 12.0, 1.0, 24000.0, 11250.0, 83.0, 16.0, 0.0],
     [209.0, b'f', b'1934-01-14', 8.0, 1.0, 19800.0, 10200.0, 83.0, 75.0, 0.0],
     [210.0, b'm', b'1949-05-04', 15.0, 1.0, 30600.0, 16500.0, 83.0, 216.0, 1.0],
     [211.0, b'm', b'1950-11-08', 15.0, 1.0, 28950.0, 15000.0, 83.0, 108.0, 1.0],
     [212.0, b'm', b'1965-05-14', 15.0, 1.0, 38400.0, 16500.0, 83.0, 64.0, 1.0],
     [213.0, b'm', b'1945-10-20', 8.0, 2.0, 30750.0, 15000.0, 83.0, 302.0, 1.0],
     [214.0, b'f', b'1968-09-13', 12.0, 1.0, 20400.0, 10950.0, 83.0, 9.0, 1.0],
     [215.0, b'f', b'1968-09-15', 12.0, 1.0, 19200.0, 11100.0, 83.0, 7.0, 1.0],
     [216.0, b'm', b'1964-05-16', 15.0, 1.0, 30150.0, 15750.0, 82.0, 72.0, 0.0],
     [217.0, b'm', b'1949-03-15', 16.0, 1.0, 34620.0, 27750.0, 82.0, 149.0, 0.0],
     [218.0, b'm', b'1964-03-21', 15.0, 1.0, 80000.0, 15750.0, 82.0, 34.0, 0.0],
     [219.0, b'm', b'1963-02-02', 12.0, 1.0, 25350.0, 15000.0, 82.0, 32.0, 0.0],
     [220.0, b'm', b'1963-08-17', 12.0, 1.0, 29850.0, 15750.0, 82.0, 85.0, 0.0],
     [221.0, b'f', b'1947-05-22', 12.0, 1.0, 24000.0, 13800.0, 82.0, 97.0, 0.0],
     [222.0, b'f', b'1935-09-15', 15.0, 1.0, 27750.0, 19500.0, 82.0, 265.0, 0.0],
     [223.0, b'f', b'1942-03-14', 8.0, 1.0, 22350.0, 10200.0, 82.0, 48.0, 0.0],
     [224.0, b'f', b'1934-11-20', 12.0, 1.0, 16200.0, 10200.0, 82.0, 0.0, 0.0],
     [225.0, b'f', b'1967-10-13', 15.0, 1.0, 21900.0, 12750.0, 82.0, 0.0, 0.0],
     [226.0, b'f', b'1964-06-21', 16.0, 1.0, 23250.0, 15750.0, 82.0, 4.0, 0.0],
     [227.0, b'f', b'1965-07-17', 12.0, 1.0, 33900.0, 12000.0, 82.0, 11.0, 0.0],
     [228.0, b'f', b'1963-09-21', 15.0, 1.0, 25650.0, 14250.0, 82.0, 51.0, 0.0],
     [229.0, b'f', b'1940-08-21', 12.0, 1.0, 17250.0, 10200.0, 82.0, 358.0, 0.0],
     [230.0, b'm', b'1934-02-04', 15.0, 1.0, 22500.0, 15000.0, 82.0, 371.0, 1.0],
     [231.0, b'm', b'1965-01-09', 16.0, 3.0, 40200.0, 21000.0, 81.0, 3.0, 0.0],
     [232.0, b'm', b'1963-09-13', 19.0, 3.0, 55500.0, 33750.0, 81.0, 62.0, 0.0],
     [233.0, b'm', b'1963-07-21', 15.0, 1.0, 26550.0, 15000.0, 81.0, 52.0, 0.0],
     [234.0, b'm', b'1960-11-12', 15.0, 1.0, 50550.0, 19500.0, 81.0, 44.0, 0.0],
     [235.0, b'm', b'1962-09-11', 19.0, 3.0, 75000.0, 31500.0, 81.0, 13.0, 0.0],
     [236.0, b'f', b'1969-05-02', 8.0, 1.0, 27450.0, 12000.0, 81.0, 9.0, 0.0],
     [237.0, b'f', b'1969-06-04', 12.0, 1.0, 22650.0, 11250.0, 81.0, 0.0, 0.0],
     [238.0, b'f', b'1969-06-15', 12.0, 1.0, 27300.0, 11250.0, 81.0, 5.0, 0.0],
     [239.0, b'f', b'1969-09-14', 12.0, 1.0, 27750.0, 11225.0, 81.0, 5.0, 0.0],
     [240.0, b'f', b'1961-06-15', 16.0, 3.0, 54375.0, 18750.0, 81.0, 81.0, 0.0],
     [241.0, b'f', b'1936-08-27', 8.0, 1.0, 17400.0, 10200.0, 81.0, 390.0, 0.0],
     [242.0, b'f', b'1967-11-03', 12.0, 1.0, 40800.0, 18000.0, 81.0, 4.0, 0.0],
     [243.0, b'f', b'1969-02-10', 12.0, 1.0, 23100.0, 10950.0, 81.0, 0.0, 0.0],
     [244.0, b'f', b'1969-09-15', 8.0, 1.0, 22500.0, 10950.0, 81.0, 5.0, 0.0],
     [245.0, b'f', b'1969-03-16', 12.0, 1.0, 26700.0, 11550.0, 81.0, 18.0, 0.0],
     [246.0, b'f', b'1968-01-14', 12.0, 1.0, 24900.0, 11250.0, 81.0, 0.0, 0.0],
     [247.0, b'f', b'1968-05-13', 12.0, 1.0, 19650.0, 10950.0, 81.0, 11.0, 0.0],
     [248.0, b'f', b'1969-04-09', 12.0, 1.0, 22050.0, 10950.0, 81.0, 9.0, 0.0],
     [249.0, b'f', b'1969-05-09', 12.0, 1.0, 25500.0, 12000.0, 81.0, 11.0, 0.0],
     [250.0, b'f', b'1966-10-10', 15.0, 1.0, 28200.0, 12750.0, 81.0, 19.0, 0.0],
     [251.0, b'f', b'1969-01-19', 12.0, 1.0, 23100.0, 11250.0, 81.0, 13.0, 0.0],
     [252.0, b'm', b'1969-09-18', 12.0, 1.0, 25500.0, 11400.0, 81.0, 9.0, 1.0],
     [253.0, b'f', b'1942-02-21', 8.0, 1.0, 17100.0, 10200.0, 81.0, 0.0, 1.0],
     [254.0, b'm', b'1964-02-08', 18.0, 3.0, 68125.0, 32490.0, 80.0, 29.0, 0.0],
     [255.0, b'm', b'1932-08-15', 12.0, 2.0, 30600.0, 15750.0, 80.0, 460.0, 0.0],
     [256.0, b'm', b'1948-01-03', 19.0, 3.0, 52125.0, 27480.0, 80.0, 221.0, 0.0],
     [257.0, b'm', b'1951-09-24', 19.0, 3.0, 61875.0, 36750.0, 80.0, 199.0, 0.0],
     [258.0, b'm', b'1969-03-09', 8.0, 1.0, 21300.0, 11550.0, 80.0, 24.0, 0.0],
     [259.0, b'f', b'1969-03-15', 12.0, 1.0, 19650.0, 11250.0, 80.0, 5.0, 0.0],
     [260.0, b'f', b'1969-02-20', 12.0, 1.0, 22350.0, 11250.0, 80.0, 5.0, 0.0],
     [261.0, b'f', b'1969-03-27', 12.0, 1.0, 23400.0, 11250.0, 80.0, 18.0, 0.0],
     [262.0, b'f', b'1968-06-20', 12.0, 1.0, 24300.0, 10950.0, 80.0, 8.0, 0.0],
     [263.0, b'f', b'1968-10-13', 12.0, 1.0, 28500.0, 11250.0, 80.0, 4.0, 0.0],
     [264.0, b'f', b'1969-01-16', 12.0, 1.0, 19950.0, 11250.0, 80.0, 8.0, 0.0],
     [265.0, b'f', b'1969-09-24', 12.0, 1.0, 23400.0, 11250.0, 80.0, 0.0, 0.0],
     [266.0, b'f', b'1963-10-07', 16.0, 1.0, 34500.0, 17250.0, 80.0, 3.0, 0.0],
     [267.0, b'f', b'1969-08-24', 12.0, 1.0, 18150.0, 10950.0, 80.0, 0.0, 0.0],
     [268.0, b'm', b'1936-05-16', 12.0, 1.0, 22350.0, 15000.0, 80.0, 272.0, 1.0],
     [269.0, b'm', b'1966-03-17', 15.0, 1.0, 40200.0, 17250.0, 79.0, 38.0, 0.0],
     [270.0, b'm', b'1947-10-29', 15.0, 1.0, 28650.0, 18000.0, 79.0, 261.0, 0.0],
     [271.0, b'm', b'1963-08-24', 15.0, 1.0, 27750.0, 16500.0, 79.0, 55.0, 0.0],
     [272.0, b'm', b'1964-06-17', 18.0, 1.0, 66875.0, 31980.0, 79.0, 30.0, 0.0],
     [273.0, b'm', b'1939-11-12', 12.0, 2.0, 30000.0, 15750.0, 79.0, 308.0, 0.0],
     [274.0, b'm', b'1964-08-04', 16.0, 3.0, 83750.0, 21750.0, 79.0, 12.0, 0.0],
     [275.0, b'm', b'1963-01-14', 12.0, 1.0, 33900.0, 16500.0, 79.0, 94.0, 0.0],
     [276.0, b'm', b'1965-05-11', 16.0, 3.0, 56500.0, 21000.0, 79.0, 12.0, 0.0],
     [277.0, b'f', b'1965-05-20', 16.0, 3.0, 43000.0, 17490.0, 79.0, 20.0, 0.0],
     [278.0, b'f', b'1943-06-12', 8.0, 1.0, 20850.0, 12000.0, 79.0, 70.0, 0.0],
     [279.0, b'f', b'1969-04-16', 12.0, 1.0, 24450.0, 12000.0, 79.0, 8.0, 0.0],
     [280.0, b'f', b'1969-10-20', 12.0, 1.0, 24750.0, 10950.0, 79.0, 5.0, 0.0],
     [281.0, b'm', b'1945-02-18', 8.0, 2.0, 34500.0, 15750.0, 79.0, 246.0, 1.0],
     [282.0, b'm', b'1963-09-15', 14.0, 1.0, 27900.0, 15000.0, 79.0, 47.0, 1.0],
     [283.0, b'm', b'1963-02-25', 19.0, 3.0, 68125.0, 32010.0, 78.0, 35.0, 0.0],
     [284.0, b'm', b'1961-10-10', 19.0, 3.0, 73500.0, 33000.0, 78.0, 45.0, 0.0],
     [285.0, b'm', b'1930-05-28', 8.0, 2.0, 30750.0, 15750.0, 78.0, 429.0, 0.0],
     [286.0, b'm', b'1958-03-07', 15.0, 3.0, 40050.0, 25500.0, 78.0, 133.0, 0.0],
     [287.0, b'm', b'1965-01-18', 16.0, 1.0, 40350.0, 19500.0, 78.0, 20.0, 0.0],
     [288.0, b'm', b'1955-01-22', 15.0, 3.0, 38700.0, 23730.0, 78.0, 176.0, 0.0],
     [289.0, b'm', b'1964-10-27', 17.0, 3.0, 65000.0, 30750.0, 78.0, 26.0, 0.0],
     [290.0, b'm', b'1954-04-05', 18.0, 3.0, 51450.0, 36240.0, 78.0, 149.0, 0.0],
     [291.0, b'm', b'1934-09-23', 12.0, 2.0, 35250.0, 15750.0, 78.0, 387.0, 0.0],
     [292.0, b'm', b'1963-05-07', 14.0, 1.0, 25950.0, 15000.0, 78.0, 53.0, 0.0],
     [293.0, b'm', b'1965-09-19', 15.0, 1.0, 25050.0, 14250.0, 78.0, 24.0, 0.0],
     [294.0, b'm', b'1968-10-10', 12.0, 1.0, 26700.0, 12750.0, 78.0, 25.0, 0.0],
     [295.0, b'm', b'1932-08-20', 8.0, 1.0, 24000.0, 15750.0, 78.0, 476.0, 0.0],
     [296.0, b'm', b'1964-02-12', 12.0, 1.0, 26850.0, 15000.0, 78.0, 48.0, 0.0],
     [297.0, b'f', b'1942-04-16', 12.0, 1.0, 23400.0, 15300.0, 78.0, 209.0, 0.0],
     [298.0, b'f', b'1966-08-24', 12.0, 1.0, 24600.0, 13500.0, 78.0, 47.0, 0.0],
     [299.0, b'f', b'1965-05-11', 15.0, 1.0, 32550.0, 18000.0, 78.0, 6.0, 0.0],
     [300.0, b'm', b'1960-05-26', 16.0, 1.0, 26550.0, 15000.0, 78.0, 105.0, 1.0],
     [301.0, b'm', b'1968-08-04', 12.0, 1.0, 31500.0, 13500.0, 78.0, 7.0, 1.0],
     [302.0, b'm', b'1939-09-28', 8.0, 1.0, 22350.0, 15000.0, 78.0, 320.0, 1.0],
     [303.0, b'm', b'1938-02-10', 12.0, 2.0, 35250.0, 15750.0, 78.0, 281.0, 1.0],
     [304.0, b'f', b'1945-09-28', 15.0, 1.0, 25800.0, 13500.0, 78.0, 51.0, 1.0],
     [305.0, b'm', b'1941-10-25', 12.0, 2.0, 30750.0, 15750.0, 77.0, 317.0, 0.0],
     [306.0, b'm', b'1966-04-05', 15.0, 1.0, 30750.0, 16500.0, 77.0, 41.0, 0.0],
     [307.0, b'm', b'1945-07-24', 16.0, 3.0, 50000.0, 32490.0, 77.0, 264.0, 0.0],
     [308.0, b'm', b'1963-02-01', 15.0, 1.0, 34500.0, 18000.0, 77.0, 63.0, 0.0],
     [309.0, b'm', b'1964-07-19', 15.0, 1.0, 26250.0, 15750.0, 77.0, 38.0, 0.0],
     [310.0, b'm', b'1964-03-23', 16.0, 1.0, 44875.0, 21240.0, 77.0, 22.0, 0.0],
     [311.0, b'f', b'1951-02-15', 12.0, 1.0, 22500.0, 12000.0, 77.0, 63.0, 0.0],
     [312.0, b'f', b'1963-03-12', 12.0, 1.0, 25650.0, 14250.0, 77.0, 64.0, 0.0],
     [313.0, b'f', b'1969-10-25', 12.0, 1.0, 21300.0, 11250.0, 77.0, 0.0, 0.0],
     [314.0, b'f', b'1966-11-24', 12.0, 1.0, 29850.0, 13500.0, 77.0, 38.0, 0.0],
     [315.0, b'f', b'1969-09-19', 12.0, 1.0, 34500.0, 12150.0, 77.0, 4.0, 0.0],
     [316.0, b'm', b'1960-01-14', 15.0, 1.0, 27750.0, 15000.0, 77.0, 52.0, 1.0],
     [317.0, b'm', b'1969-02-27', 12.0, 1.0, 27750.0, 11550.0, 77.0, 12.0, 1.0],
     [318.0, b'm', b'1961-02-19', 16.0, 3.0, 48750.0, 21990.0, 76.0, 61.0, 0.0],
     [319.0, b'm', b'1966-03-02', 15.0, 1.0, 43410.0, 15750.0, 76.0, 12.0, 0.0],
     [320.0, b'm', b'1936-11-10', 12.0, 1.0, 22050.0, 15000.0, 76.0, 385.0, 0.0],
     [321.0, b'f', b'1953-10-26', 12.0, 1.0, 22050.0, 12000.0, 76.0, 6.0, 0.0],
     [322.0, b'f', b'1938-03-02', 12.0, 1.0, 22500.0, 14250.0, 76.0, 90.0, 0.0],
     [323.0, b'f', b'1967-05-13', 15.0, 1.0, 25500.0, 12000.0, 76.0, 7.0, 0.0],
     [324.0, b'f', b'1966-10-14', 12.0, 1.0, 29160.0, 15000.0, 76.0, 22.0, 0.0],
     [325.0, b'f', b'1934-11-04', 8.0, 1.0, 16800.0, 10200.0, 76.0, 76.0, 0.0],
     [326.0, b'm', b'1958-07-24', 8.0, 2.0, 29550.0, 15750.0, 76.0, 144.0, 1.0],
     [327.0, b'm', b'1965-03-02', 12.0, 1.0, 26700.0, 15750.0, 76.0, 18.0, 1.0],
     [328.0, b'm', b'1952-10-25', 18.0, 3.0, 55000.0, 32490.0, 75.0, 125.0, 0.0],
     [329.0, b'm', b'1958-08-24', 18.0, 3.0, 62500.0, 34980.0, 75.0, 74.0, 0.0],
     [330.0, b'm', b'1959-05-09', 15.0, 1.0, 27300.0, 17250.0, 75.0, 132.0, 0.0],
     [331.0, b'f', b'1942-02-04', 12.0, 1.0, 24450.0, 12000.0, 75.0, 144.0, 0.0],
     [332.0, b'f', b'1964-05-10', 16.0, 1.0, 33000.0, 18000.0, 75.0, 26.0, 0.0],
     [333.0, b'f', b'1965-01-26', 15.0, 1.0, 37050.0, 18000.0, 75.0, 5.0, 0.0],
     [334.0, b'f', b'1966-05-09', 12.0, 1.0, 24450.0, 10950.0, 75.0, 32.0, 1.0],
     [335.0, b'm', b'1930-02-26', 8.0, 2.0, 31950.0, 15750.0, 74.0, 408.0, 0.0],
     [336.0, b'm', b'1964-01-10', 16.0, 3.0, 47250.0, 21240.0, 74.0, 45.0, 0.0],
     [337.0, b'f', b'1970-01-27', 12.0, 1.0, 26100.0, 11550.0, 74.0, 2.0, 0.0],
     [338.0, b'f', b'1938-08-12', 8.0, 1.0, 15900.0, 10200.0, 74.0, 43.0, 0.0],
     [339.0, b'f', b'1942-11-07', 8.0, 1.0, 23700.0, 10650.0, 74.0, 281.0, 0.0],
     [340.0, b'f', b'1934-05-06', 8.0, 1.0, 21750.0, 12450.0, 74.0, 318.0, 0.0],
     [341.0, b'm', b'1945-01-20', 12.0, 3.0, 59400.0, 33750.0, 74.0, 272.0, 1.0],
     [342.0, b'f', b'1948-06-01', 12.0, 1.0, 24450.0, 14250.0, 74.0, 117.0, 1.0],
     [343.0, b'm', b'1953-06-09', 16.0, 3.0, 103500.0, 60000.0, 73.0, 150.0, 0.0],
     [344.0, b'm', b'1963-10-13', 12.0, 1.0, 35700.0, 16500.0, 73.0, 72.0, 0.0],
     [345.0, b'f', b'1969-05-05', 12.0, 1.0, 22200.0, 16500.0, 73.0, 7.0, 0.0],
     [346.0, b'f', b'1968-08-16', 15.0, 1.0, 22950.0, 13950.0, 73.0, 22.0, 0.0],
     [347.0, b'f', b'1944-08-10', 12.0, 1.0, 23100.0, 12000.0, 73.0, 228.0, 0.0],
     [348.0, b'f', b'1962-06-11', 16.0, 3.0, 56750.0, 30000.0, 73.0, 15.0, 0.0],
     [349.0, b'f', b'1938-03-22', 17.0, 1.0, 29100.0, 12750.0, 73.0, 375.0, 0.0],
     [350.0, b'f', b'1939-04-21', 12.0, 1.0, 37650.0, 15750.0, 73.0, 132.0, 0.0],
     [351.0, b'f', b'1966-01-27', 12.0, 1.0, 27900.0, 13500.0, 73.0, 32.0, 0.0],
     [352.0, b'f', b'1933-11-26', 8.0, 1.0, 21150.0, 12000.0, 73.0, 159.0, 0.0],
     [353.0, b'm', b'1955-03-10', 12.0, 2.0, 31200.0, 15750.0, 73.0, 155.0, 1.0],
     [354.0, b'f', b'1946-05-08', 12.0, 1.0, 20550.0, 11250.0, 73.0, 154.0, 1.0],
     [355.0, b'm', b'1961-05-19', 15.0, 1.0, 25950.0, 17250.0, 72.0, 83.0, 0.0],
     [356.0, b'm', b'1965-11-10', 15.0, 1.0, 28350.0, 15000.0, 72.0, 48.0, 0.0],
     [357.0, b'f', b'1932-01-18', 8.0, 1.0, 17700.0, 10200.0, 72.0, 184.0, 0.0],
     [358.0, b'f', b'1944-04-11', 15.0, 1.0, 23550.0, 13500.0, 72.0, 49.0, 0.0],
     [359.0, b'f', b'1941-06-12', 12.0, 1.0, 19950.0, 10200.0, 72.0, 56.0, 0.0],
     [360.0, b'f', b'1968-08-11', 12.0, 1.0, 29400.0, 15300.0, 72.0, 30.0, 0.0],
     [361.0, b'f', b'1966-06-09', 12.0, 1.0, 28800.0, 13950.0, 72.0, 18.0, 0.0],
     [362.0, b'f', b'1937-04-08', 8.0, 1.0, 16950.0, 10200.0, 72.0, 319.0, 0.0],
     [363.0, b'm', b'1954-06-03', 16.0, 1.0, 35700.0, 18000.0, 72.0, 138.0, 1.0],
     [364.0, b'f', b'1947-03-26', 12.0, 1.0, 17400.0, 10200.0, 72.0, 116.0, 1.0],
     [365.0, b'f', b'1948-10-16', 8.0, 1.0, 21450.0, 10200.0, 72.0, 194.0, 1.0],
     [366.0, b'f', b'1961-03-21', 12.0, 1.0, 24750.0, 12000.0, 72.0, 68.0, 1.0],
     [367.0, b'f', b'1942-05-22', 12.0, 1.0, 16950.0, 10200.0, 72.0, 271.0, 1.0],
     [368.0, b'f', b'1943-07-20', 12.0, 1.0, 26100.0, 13500.0, 72.0, 169.0, 1.0],
     [369.0, b'm', b'1967-11-14', 14.0, 1.0, 28050.0, 15000.0, 71.0, 15.0, 0.0],
     [370.0, b'f', b'1963-01-20', 16.0, 1.0, 36600.0, 18000.0, 71.0, 12.0, 0.0],
     [371.0, b'f', b'1966-04-05', 16.0, 3.0, 58125.0, 18000.0, 71.0, 11.0, 0.0],
     [372.0, b'm', b'1935-08-22', 15.0, 1.0, 21300.0, 15750.0, 70.0, 372.0, 0.0],
     [373.0, b'm', b'1949-10-29', 12.0, 1.0, 22500.0, 16500.0, 70.0, 216.0, 0.0],
     [374.0, b'm', b'1967-07-26', 15.0, 1.0, 29400.0, 15750.0, 70.0, 15.0, 0.0],
     [375.0, b'm', b'1966-10-08', 12.0, 1.0, 27450.0, 14700.0, 70.0, 41.0, 0.0],
     [376.0, b'm', b'1964-10-09', 15.0, 1.0, 29850.0, 15750.0, 70.0, 48.0, 0.0],
     [377.0, b'm', b'1965-11-29', 15.0, 1.0, 25350.0, 15750.0, 70.0, 56.0, 0.0],
     [378.0, b'f', b'1930-09-21', 8.0, 1.0, 15750.0, 10200.0, 70.0, 275.0, 0.0],
     [379.0, b'f', b'1938-05-12', 8.0, 1.0, 19650.0, 13050.0, 70.0, 102.0, 0.0],
     [380.0, b'f', b'1941-02-22', 12.0, 1.0, 21000.0, 13500.0, 70.0, 82.0, 0.0],
     [381.0, b'm', b'1946-07-15', 17.0, 1.0, 27000.0, 18000.0, 70.0, 192.0, 1.0],
     [382.0, b'm', b'1959-10-20', 12.0, 1.0, 24000.0, 15750.0, 70.0, 120.0, 1.0],
     [383.0, b'm', b'1961-06-03', 17.0, 3.0, 78500.0, 28740.0, 70.0, 67.0, 1.0],
     [384.0, b'f', b'1955-11-11', 12.0, 1.0, 20850.0, 13050.0, 70.0, 127.0, 1.0],
     [385.0, b'm', b'1930-10-01', 12.0, 2.0, 30000.0, 15750.0, 69.0, 348.0, 0.0],
     [386.0, b'm', b'1934-08-18', 8.0, 2.0, 28500.0, 15750.0, 69.0, 174.0, 0.0],
     [387.0, b'm', b'1965-02-03', 19.0, 3.0, 65000.0, 31980.0, 69.0, 74.0, 0.0],
     [388.0, b'm', b'1959-01-02', 14.0, 1.0, 30150.0, 16500.0, 69.0, 110.0, 0.0],
     [389.0, b'm', b'1959-04-15', 19.0, 3.0, 66875.0, 32490.0, 69.0, 81.0, 0.0],
     [390.0, b'f', b'1968-11-09', 15.0, 1.0, 24150.0, 13500.0, 69.0, 7.0, 0.0],
     [391.0, b'f', b'1969-01-12', 12.0, 1.0, 24450.0, 12450.0, 69.0, 12.0, 0.0],
     [392.0, b'f', b'1970-05-12', 12.0, 1.0, 21600.0, 12000.0, 69.0, 0.0, 0.0],
     [393.0, b'f', b'1969-06-24', 12.0, 1.0, 27900.0, 12450.0, 69.0, 0.0, 0.0],
     [394.0, b'f', b'1970-02-04', 8.0, 1.0, 29100.0, 12450.0, 69.0, 17.0, 0.0],
     [395.0, b'f', b'1970-03-09', 12.0, 1.0, 22650.0, 11250.0, 69.0, 2.0, 0.0],
     [396.0, b'f', b'1970-08-17', 12.0, 1.0, 20850.0, 11250.0, 69.0, 0.0, 0.0],
     [397.0, b'f', b'1970-01-17', 12.0, 1.0, 22950.0, 12300.0, 69.0, 5.0, 0.0],
     [398.0, b'f', b'1970-11-21', 12.0, 1.0, 30600.0, 12450.0, 69.0, 5.0, 0.0],
     [399.0, b'f', b'1970-02-06', 12.0, 1.0, 20400.0, 11250.0, 69.0, 0.0, 0.0],
     [400.0, b'f', b'1969-08-06', 12.0, 1.0, 23850.0, 12750.0, 69.0, 20.0, 0.0],
     [401.0, b'f', b'1970-03-14', 12.0, 1.0, 22800.0, 11250.0, 69.0, 0.0, 0.0],
     [402.0, b'f', b'1970-02-07', 12.0, 1.0, 20700.0, 11250.0, 69.0, 2.0, 0.0],
     [403.0, b'f', b'1970-04-28', 12.0, 1.0, 21300.0, 11250.0, 69.0, 3.0, 1.0],
     [404.0, b'f', b'1953-05-01', 12.0, 1.0, 24300.0, 15000.0, 69.0, 121.0, 1.0],
     [405.0, b'f', b'1944-07-12', 12.0, 1.0, 19650.0, 13950.0, 69.0, 133.0, 1.0],
     [406.0, b'm', b'1965-10-05', 17.0, 3.0, 60000.0, 32490.0, 68.0, 17.0, 0.0],
     [407.0, b'm', b'1965-09-06', 15.0, 1.0, 30300.0, 15750.0, 68.0, 55.0, 0.0],
     [408.0, b'm', b'1964-02-12', 19.0, 3.0, 61250.0, 33000.0, 68.0, 9.0, 0.0],
     [409.0, b'm', b'1962-11-21', 19.0, 1.0, 36000.0, 19500.0, 68.0, 21.0, 0.0],
     [410.0, b'f', b'1942-01-09', 8.0, 1.0, 25200.0, 18750.0, 68.0, 344.0, 0.0],
     [411.0, b'f', b'1931-08-21', 12.0, 1.0, 16200.0, 10200.0, 68.0, 180.0, 0.0],
     [412.0, b'f', b'1970-06-16', 12.0, 1.0, 22800.0, 11250.0, 68.0, 2.0, 0.0],
     [413.0, b'f', b'1966-03-13', 16.0, 3.0, 43500.0, 19500.0, 68.0, 11.0, 0.0],
     [414.0, b'm', b'1961-01-08', 8.0, 2.0, 30300.0, 15750.0, 68.0, 155.0, 1.0],
     [415.0, b'm', b'1963-05-02', 15.0, 1.0, 31950.0, 15750.0, 68.0, 70.0, 1.0],
     [416.0, b'm', b'1965-01-16', 15.0, 1.0, 35250.0, 13500.0, 67.0, 6.0, 0.0],
     [417.0, b'm', b'1967-07-22', 15.0, 1.0, 37800.0, 15000.0, 67.0, 36.0, 0.0],
     [418.0, b'm', b'1965-06-05', 15.0, 1.0, 31200.0, 15750.0, 67.0, 46.0, 0.0],
     [419.0, b'm', b'1964-10-20', 15.0, 1.0, 29400.0, 16500.0, 67.0, 68.0, 0.0],
     [420.0, b'm', b'1957-07-16', 19.0, 3.0, 70000.0, 35040.0, 67.0, 75.0, 0.0],
     [421.0, b'm', b'1961-11-01', 15.0, 1.0, 33900.0, 15750.0, 67.0, 96.0, 0.0],
     [422.0, b'm', b'1963-07-20', 15.0, 1.0, 27150.0, 16500.0, 67.0, 78.0, 0.0],
     [423.0, b'f', b'1936-04-26', 12.0, 1.0, 22200.0, 13800.0, 67.0, 196.0, 0.0],
     [424.0, b'f', b'1966-07-06', 15.0, 1.0, 31350.0, 11100.0, 67.0, 47.0, 0.0],
     [425.0, b'f', b'1942-01-26', 12.0, 1.0, 20850.0, 13500.0, 67.0, 181.0, 0.0],
     [426.0, b'm', b'1952-10-27', 16.0, 1.0, 33300.0, 17490.0, 67.0, 120.0, 1.0],
     [427.0, b'm', b'1942-04-21', 8.0, 1.0, 26250.0, 16050.0, 67.0, 97.0, 1.0],
     [428.0, b'm', b'1964-02-28', 15.0, 1.0, 31950.0, 15750.0, 67.0, 58.0, 1.0],
     [429.0, b'm', b'1946-08-13', 8.0, 2.0, 30000.0, 15750.0, 67.0, 305.0, 1.0],
     [430.0, b'm', b'1956-04-29', 19.0, 3.0, 66250.0, 34980.0, 67.0, 99.0, 1.0],
     [431.0, b'm', b'1959-01-15', 18.0, 3.0, 86250.0, 45000.0, 66.0, 50.0, 0.0],
     [432.0, b'm', b'1964-03-12', 12.0, 1.0, 30750.0, 15000.0, 66.0, 56.0, 0.0],
     [433.0, b'm', b'1966-11-15', 12.0, 1.0, 33540.0, 15750.0, 66.0, 47.0, 0.0],
     [434.0, b'm', None, 16.0, 1.0, 34950.0, 20250.0, 66.0, 55.0, 0.0],
     [435.0, b'm', b'1964-05-24', 15.0, 1.0, 40350.0, 16500.0, 66.0, 80.0, 0.0],
     [436.0, b'm', b'1965-05-27', 12.0, 1.0, 30270.0, 15750.0, 66.0, 80.0, 0.0],
     [437.0, b'm', b'1933-09-04', 8.0, 1.0, 26250.0, 16050.0, 66.0, 264.0, 0.0],
     [438.0, b'm', b'1964-10-11', 15.0, 1.0, 32400.0, 15000.0, 66.0, 64.0, 0.0],
     [439.0, b'f', b'1970-06-25', 12.0, 1.0, 20400.0, 11250.0, 66.0, 0.0, 0.0],
     [440.0, b'f', b'1947-11-10', 8.0, 1.0, 24150.0, 12750.0, 66.0, 96.0, 0.0],
     [441.0, b'f', b'1949-08-02', 15.0, 1.0, 23850.0, 13500.0, 66.0, 122.0, 0.0],
     [442.0, b'f', b'1968-09-18', 12.0, 1.0, 29700.0, 13500.0, 66.0, 26.0, 0.0],
     [443.0, b'f', b'1929-02-10', 8.0, 1.0, 21600.0, 13500.0, 66.0, 228.0, 0.0],
     [444.0, b'f', b'1961-09-16', 12.0, 1.0, 24450.0, 15750.0, 66.0, 87.0, 0.0],
     [445.0, b'm', b'1963-08-04', 15.0, 1.0, 28050.0, 16500.0, 66.0, 84.0, 1.0],
     [446.0, b'm', b'1958-08-03', 16.0, 3.0, 100000.0, 44100.0, 66.0, 128.0, 1.0],
     [447.0, b'm', b'1961-07-02', 15.0, 1.0, 49000.0, 20550.0, 66.0, 86.0, 1.0],
     [448.0, b'f', b'1933-06-05', 12.0, 1.0, 16350.0, 10200.0, 66.0, 163.0, 1.0],
     [449.0, b'm', b'1966-01-02', 16.0, 3.0, 70000.0, 21750.0, 65.0, 19.0, 0.0],
     [450.0, b'm', b'1954-07-21', 19.0, 3.0, 55000.0, 34980.0, 65.0, 129.0, 0.0],
     [451.0, b'm', b'1969-07-19', 15.0, 1.0, 28500.0, 14250.0, 65.0, 20.0, 0.0],
     [452.0, b'm', b'1953-08-13', 12.0, 1.0, 28800.0, 18000.0, 65.0, 210.0, 0.0],
     [453.0, b'm', b'1930-08-07', 15.0, 1.0, 24450.0, 15750.0, 65.0, 338.0, 0.0],
     [454.0, b'm', b'1965-07-28', 19.0, 3.0, 90625.0, 31250.0, 65.0, 18.0, 0.0],
     [455.0, b'm', b'1964-01-17', 16.0, 3.0, 43650.0, 19500.0, 65.0, 19.0, 0.0],
     [456.0, b'm', b'1959-10-17', 19.0, 3.0, 75000.0, 42510.0, 65.0, 54.0, 0.0],
     [457.0, b'm', b'1968-05-27', 15.0, 1.0, 31650.0, 14250.0, 65.0, 10.0, 0.0],
     [458.0, b'm', b'1965-07-06', 19.0, 3.0, 61875.0, 28740.0, 65.0, 26.0, 0.0],
     [459.0, b'f', b'1971-02-10', 12.0, 1.0, 21750.0, 11250.0, 65.0, 0.0, 0.0],
     [460.0, b'f', b'1969-08-12', 12.0, 1.0, 22500.0, 12750.0, 65.0, 24.0, 0.0],
     [461.0, b'f', b'1943-11-08', 8.0, 1.0, 21600.0, 13500.0, 65.0, 173.0, 0.0],
     [462.0, b'f', b'1963-10-18', 16.0, 3.0, 34410.0, 19500.0, 65.0, 79.0, 0.0],
     [463.0, b'f', b'1934-10-15', 15.0, 1.0, 20700.0, 14250.0, 65.0, 241.0, 0.0],
     [464.0, b'm', b'1962-03-20', 19.0, 3.0, 47550.0, 33000.0, 64.0, 27.0, 0.0],
     [465.0, b'm', b'1962-07-20', 12.0, 1.0, 33900.0, 16500.0, 64.0, 106.0, 0.0],
     [466.0, b'f', b'1948-06-15', 12.0, 1.0, 23400.0, 13500.0, 64.0, 198.0, 0.0],
     [467.0, b'f', b'1967-08-18', 16.0, 1.0, 32850.0, 19500.0, 64.0, 20.0, 0.0],
     [468.0, b'f', b'1965-11-28', 16.0, 3.0, 55750.0, 19980.0, 64.0, 36.0, 0.0],
     [469.0, b'f', b'1964-06-01', 15.0, 1.0, 25200.0, 13950.0, 64.0, 57.0, 0.0],
     [470.0, b'm', b'1964-01-22', 12.0, 1.0, 26250.0, 15750.0, 64.0, 69.0, 1.0],
     [471.0, b'm', b'1966-08-03', 15.0, 1.0, 26400.0, 15750.0, 64.0, 32.0, 1.0],
     [472.0, b'm', b'1966-02-21', 15.0, 1.0, 39150.0, 15750.0, 63.0, 46.0, 0.0],
     [473.0, b'f', b'1937-11-25', 12.0, 1.0, 21450.0, 12750.0, 63.0, 139.0, 0.0],
     [474.0, b'f', b'1968-11-05', 12.0, 1.0, 29400.0, 14250.0, 63.0, 9.0, 0.0]]

class test_SavReader_typical_use(unittest.TestCase):
    """ Read a file, typical use"""

    def test_SavReader_typical(self):

        savFileName = "../test_data/Employee data.sav"
        records_got = []
        with SavReader(savFileName, returnHeader=True) as reader:
            for record in reader:
                records_got.append(record)

        self.assertEqual(records_expected, records_got)

if __name__ == "__main__":
    unittest.main()