Assert File Is Non-Empty
Checks that a regular file exists and contains at least one byte.
path (String): The file path to
check.
message (String): (Optional) Custom
assertion message.
True if the file exists and is non-empty.
assert_non_empty_file("output.csv")
assert_non_empty_file("plot.png", "plot was not written")