Skip to content

Commit

Permalink
Correct unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Feb 13, 2023
1 parent 874118a commit 1f2c0d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/png_wire/mesher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mesh_type": "png",
"data_voxelize": {
"d": [50e-6, 50e-6, 2e-3],
"d": [50e-6, 50e-6, 500e-6],
"c": [0.0, 0.0, 0.0],
"nx": 49,
"ny": 49,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_png.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_png_wire(self):

res = {
"n_total_ref": 24010, "n_used_ref": 18770,
"P_tot_ref": 9.99920463e-05, "W_tot_ref": 4.58137101e-09, "tol": 1e-4,
"P_tot_ref": 2.09764005e-05, "W_tot_ref": 6.16038326e-10, "tol": 1e-4,
}
test_workflow.test_workflow(self, "png_wire", res)

Expand Down

0 comments on commit 1f2c0d1

Please sign in to comment.