Skip to content

Commit

Permalink
refactor: expand test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed May 20, 2024
1 parent 368b275 commit 78645f5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,13 @@ mod test {
assert_eq!(b.0, 0b0000_0001);
b.set(L::H4, true);
assert_eq!(b.0, 0b0000_1001);
b.set(L::H4, false);
assert_eq!(b.0, 0b0000_0001);

assert!(b.get(L::H1));
assert!(!b.get(L::H2));
assert!(!b.get(L::H3));
assert!(b.get(L::H4));
assert!(!b.get(L::H5));
assert!(!b.get(L::H6));
}

#[test]
Expand Down

0 comments on commit 78645f5

Please sign in to comment.