[][src]Module rust_3d::test_helper

helper functions for testing (these functions unwrap and panic, only use for tests)

Functions

assert_files_equal

Ensures the content of two files is equal

test_filter_2d

Tests a 2D filter by comparing the result of its usage on the test quare vs. its expected result

test_filter_3d

Tests a 3D filter by comparing the result of its usage on the test cube vs. its expected result

write_expected_filter_2d

Can be used to write the expected result of a 2D filter to later compare against in a test

write_expected_filter_3d

Can be used to write the expected result of a 3D filter to later compare against in a test