Fix test_framework tests trying to implement function on foreign type.

This commit is contained in:
KtorZ
2024-08-29 13:48:57 +02:00
parent c21466831c
commit 79cf0b8d97
3 changed files with 107 additions and 100 deletions

View File

@@ -274,7 +274,7 @@ impl PropertyTest {
})
}
fn run_n_times<'a>(
pub fn run_n_times<'a>(
&'a self,
remaining: &mut usize,
initial_prng: Prng,
@@ -617,7 +617,7 @@ impl<'a> Counterexample<'a> {
/// - Sorting chunks in ascending order
/// - Swapping nearby pairs
/// - Redistributing values between nearby pairs
fn simplify(&mut self) {
pub fn simplify(&mut self) {
let mut prev;
loop {