Skip to content

Commit 936115c

Browse files
author
davidcorteso
committed
Added minimal test to check memory leak
1 parent c349830 commit 936115c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/mini_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import fidimag as f
2+
3+
mesh = f.common.CuboidMesh(nx=5, ny=1, nz=1)
4+
sim = f.micro.Sim(mesh)
5+
6+
sim.set_m([0., 0., 1.])

0 commit comments

Comments
 (0)