artem 1.1.5

Convert images from multiple formats (jpg, png, webp, etc…) to ASCII art
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::fs;
///! Utilities and common function between tests.
///! It includes functions to help loading expected results to compare against.

/// Load the correct files.
///
/// Loads a string containing the correct and expected result of the command output.
/// The returned String does not have color.
pub fn load_correct_file() -> String {
    let desired_output =
        fs::read_to_string("assets/standard_test_img/standard_test_img.txt").unwrap(); //ignore errors
    desired_output
}