Skip to main content

load_test_num

Function load_test_num 

Source
pub fn load_test_num(filename: &str, test_num: usize) -> Option<ClipTestData>
Expand description

Load a specific test number from a test data file.

Direct port from C++ LoadTestNum().

§Arguments

  • filename - Path to the test data file
  • test_num - 1-based test number to load

§Returns

Some(ClipTestData) if the test was found, None otherwise.