Skip to content

Commit

Permalink
chore: added manual test
Browse files Browse the repository at this point in the history
  • Loading branch information
leuraph committed Dec 26, 2023
1 parent c7a0849 commit 4922889
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/manual/read_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from pathlib import Path
import numpy as np


def main():
path_to_coordinates = Path('tests/data/coordinates.dat')
path_to_elements = Path('tests/data/elements.dat')

coordinates = np.loadtxt(path_to_coordinates)
elements = np.loadtxt(path_to_elements, dtype=int)

print(coordinates)
print(elements)

if __name__ == '__main__':
main()

0 comments on commit 4922889

Please sign in to comment.