@@ -289,21 +289,22 @@ def caveats
289289 # Test that mfc wrapper works
290290 system bin /"mfc" , "--help"
291291
292- # Test running a simple 1D Sod shock tube case from a separate directory
293- # This ensures the wrapper script correctly handles relative paths
292+ # Test running a complete 1D Sod shock tube case from a separate directory
293+ # This comprehensive test ensures the entire MFC workflow functions correctly
294+ # and that the wrapper script properly handles relative paths
294295 testpath_case = testpath /"test_run"
295296 testpath_case . mkpath
296297
297298 # Copy case.py from examples to an independent test directory
298299 cp prefix /"examples/1D_sodshocktube/case.py" , testpath_case /"case.py"
299300
300- # Run the case from the test directory (this will execute pre_process and simulation)
301- # Limit to 1 processor and reduce runtime for testing
301+ # Run all three stages: pre_process, simulation, and post_process
302+ # This runs a full 1D Sod shock tube (1000 timesteps, 399 cells)
302303 cd testpath_case do
303- system bin /"mfc" , "case.py" , "-j " , "1"
304+ system bin /"mfc" , "case.py" , "-n " , "1"
304305 end
305306
306- # Verify output files were created in the test directory
307+ # Verify silo_hdf5 output files were created by post_process
307308 assert_path_exists testpath_case /"silo_hdf5"
308309 assert_predicate testpath_case /"silo_hdf5" , :directory?
309310 end
0 commit comments