diff --git a/test/gold/ellipsoid.jou b/test/gold/ellipsoid.jou new file mode 100644 index 0000000..4745421 --- /dev/null +++ b/test/gold/ellipsoid.jou @@ -0,0 +1,19 @@ +set echo off +set info off +set warning off +graphics pause +set journal off +set default autosize off +#CELL 1 +sphere radius 1 +#{ id1 = Id("body") } +body { id1 } scale x 1.0 y 0.7071067811865476 z 0.5773502691896257 +body { None } name "Cell_1" +group "mat:void" add body { None } +graphics flush +set default autosize on +zoom reset +set echo on +set info on +set warning on +set journal on diff --git a/test/test_local.py b/test/test_local.py index 2d87c64..31479f7 100644 --- a/test/test_local.py +++ b/test/test_local.py @@ -128,3 +128,4 @@ def test_gq_ellipsoid(request): ellipsoid = openmc.Quadric(1, 2, 3, k=1) g = openmc.Geometry([openmc.Cell(region=-ellipsoid)]) to_cubit_journal(g, world=(500, 500, 500), filename='ellipsoid.jou') + diff_gold_file('ellipsoid.jou')