Skip to content

Commit

Permalink
to_ans: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Oct 27, 2024
1 parent 43d19ff commit dd3db92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansi2/src/ans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ mod test {
let c1 = Canvas::new(&s, None);
let c2 = Canvas::new(&min, None);
assert_eq!(c1, c2);

let min2 = to_ans(&min, None, true);
assert_eq!(min2, min);
}
}
}

0 comments on commit dd3db92

Please sign in to comment.