Function halo2_debug::test_result

source ยท
pub fn test_result<F: FnOnce() -> Vec<u8> + Send>(
    test: F,
    _expected: &str
) -> Vec<u8>
Expand description

When the feature vector-tests is enabled, executes the test in a single thread and checks the result against the expected value. When the feature vector-tests is disabled, just executes the test.