Skip to content

Commit

Permalink
Fixup polyline test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahlstrom committed Jan 11, 2025
1 parent ce56786 commit f141064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/geom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ mod tests {
}

#[test]
#[should_panic]
fn empty_polyline_eval() {
let pl = Polyline::<f32>(vec![]);
assert_eq!(pl.eval(0.0), 213.0);
Polyline::<f32>(vec![]).eval(0.5);
}

#[test]
Expand Down

0 comments on commit f141064

Please sign in to comment.