fn teardown_files() {
        let result = fs::remove_file(UNIT_TEST_FILE);
        if result.is_err() {
            println!("Warning, failed to remove test file: {}", UNIT_TEST_FILE);
        }
        let result = fs::remove_file(UNIT_TEST_OUTPUT_FILE);
        if result.is_err() {
            println!("Warning, failed to remove test file: {}", UNIT_TEST_FILE);
        }
    }
/// Supporting testing function for removing files.
/// # Example
/// ```
/// #[test]
/// fn test() {
///     setup_files();
///     // ...
///     teardown_files();
/// }
/// ```
Supporting testing function for removing files.
Supporting testing function for removing files .
fn teardown_files() {
        let result = fs::remove_file(UNIT_TEST_FILE);
        if result.is_err() {
            println!("Warning, failed to remove test file: {}", UNIT_TEST_FILE);
        }
        let result = fs::remove_file(UNIT_TEST_OUTPUT_FILE);
        if result.is_err() {
            println!("Warning, failed to remove test file: {}", UNIT_TEST_FILE);
        }
    }
fn teardown_files ( ) { let result = fs :: remove_file ( UNIT_TEST_FILE ) ; if result . is_err ( ) { println ! ( " " UNIT_TEST_FILE ) ; } let result = fs :: remove_file ( UNIT_TEST_OUTPUT_FILE ) ; if result . is_err ( ) { println ! ( " " UNIT_TEST_FILE ) ; } }
Supporting testing function for removing files.
Supporting testing function for removing files .
example
None
[test]
fn test() {
setup_files();

teardown_files();
}
```
fn test () { setup_files () ; teardown_files () ; } ` ` `