Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
europeanplaice committed Mar 23, 2022
1 parent 9743e01 commit 58aace3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Run tests
run: cargo test --verbose --release
- name: Run tests wasm
run: cargo test --verbose --release --featuers wasm
run: cargo test --verbose --release --features wasm
14 changes: 7 additions & 7 deletions src/dp_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ pub mod dp {
/// ```rust
///
///use dpss::dp::sequence_matcher;
///let answer = sequence_matcher(&mut vec![1980, 2980, 3500, 4000, 1050], &mut vec![1950, 2900, 30, 80, 3300, 200, 3980, 1050, 20], 10, 10, 2);
///let answer = sequence_matcher(&mut vec![1980, 2980, 3500, 4000, 1050], &mut vec![1950, 2900, 30, 80, 3300, 200, 3980, 1050, 20], 10, 10, 100);
///assert_eq!(answer[0], vec![
/// (vec![1050],
/// vec![1050]),
Expand All @@ -378,17 +378,17 @@ pub mod dp {
///
/// ]);
///assert_eq!(answer[1], vec![
/// (vec![1980],
/// (vec![1050],
/// vec![1050]),
///
/// (vec![1980],
/// vec![30, 1950]),
///
/// (vec![2980],
/// vec![80, 2900]),
///
/// (vec![3500],
/// vec![200, 3300]),
///
/// (vec![1050, 4000],
/// vec![20, 1050, 3980]),
/// (vec![3500, 4000],
/// vec![20, 200, 3300, 3980]),
///
/// ]);
/// ```
Expand Down

0 comments on commit 58aace3

Please sign in to comment.