summaryrefslogtreecommitdiff
path: root/test-chill/unit-tests/cpp_validate_prog/mm_in.py
blob: 93eb080b78540bd50987586ef855cfadf5ce97da (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/python

import struct

data = list(range(15)) + list(range(10)) + [0]*6
bindata = ''.join([struct.pack('f',n) for n in data])
with open('mm.in.data','wb') as f:
    f.write(bindata)