Add tests

This commit is contained in:
Dimitri Lozeve 2023-10-04 17:21:45 +02:00
parent e1fe03d236
commit b868903a81
2 changed files with 32 additions and 9 deletions

12
gentest.py Normal file
View file

@ -0,0 +1,12 @@
import numpy as np
def main():
for endianness in "<>":
for typ in "fiu":
for size in "48":
dtype=endianness + typ + size
arr = np.zeros((2,3,4), dtype=dtype)
np.save(f"test{dtype}.npy", arr)
if __name__ == '__main__':
main()