Skip to content

Commit a61cb4d

Browse files
committed
Update tests
1 parent 4ec0c1c commit a61cb4d

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

tests/run_tests/driver_fem_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# To test the full run and validate the inversion.
3535
# Move this file out of the test directory and run.
3636

37-
target_run = {"data_norm": 81.8361, "phi_d": 2161, "phi_m": 5828}
37+
target_run = {"data_norm": 81.8361, "phi_d": 2160, "phi_m": 4010}
3838

3939

4040
def test_fem_fwr_run(

tests/run_tests/driver_mvi_test.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@
3333
# To test the full run and validate the inversion.
3434
# Move this file out of the test directory and run.
3535

36-
target_mvi_run = {
37-
"data_norm": 6.3559205278626525,
38-
"phi_d": 0.01447,
39-
"phi_m": 4.657e-06,
40-
}
36+
target_mvi_run = {"data_norm": 6.3559205278626525, "phi_d": 0.0143, "phi_m": 0.0009}
4137

4238

4339
def test_magnetic_vector_fwr_run(
@@ -145,8 +141,8 @@ def test_magnetic_vector_run(
145141

146142
out_group = run_ws.get_entity("Magnetic Vector Inversion")[0]
147143
mesh = out_group.get_entity("mesh")[0]
148-
assert len(mesh.property_groups) == 2
149-
assert len(mesh.property_groups[0].properties) == 2
144+
assert len(mesh.property_groups) == 3
145+
assert len(mesh.property_groups[0].properties) == 3
150146
assert mesh.property_groups[1].property_group_type == GroupTypeEnum.DIPDIR
151147

152148

0 commit comments

Comments
 (0)