Skip to content

Commit

Permalink
Weaken testcases of boc
Browse files Browse the repository at this point in the history
  • Loading branch information
kingdoctor123 committed Mar 26, 2024
1 parent becbb39 commit dca33e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homework/tests/boc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ mod stress_test {
let (send_finish, recv_finish) = bounded(0);

rayon::spawn(move || {
assert_eq!(boc_fibonacci::fibonacci(30), 832040);
assert_eq!(boc_fibonacci::fibonacci(28), 317811);
send_finish.send(()).unwrap();
});

Expand All @@ -415,9 +415,9 @@ mod stress_test {

#[test]
fn merge_sort() {
const ITER: usize = 10;
const ITER: usize = 4;
const LOGSZ_LO: usize = 10;
const LOGSZ_HI: usize = 14;
const LOGSZ_HI: usize = 13;

let (senders, receivers): (Vec<Sender<()>>, Vec<Receiver<()>>) =
(0..ITER).map(|_| bounded(1)).unzip();
Expand Down

0 comments on commit dca33e3

Please sign in to comment.