Skip to content

Commit

Permalink
Merge pull request #30 from OptimisticPeach/line_fix
Browse files Browse the repository at this point in the history
Fix linestrip tests
  • Loading branch information
OptimisticPeach authored Aug 1, 2024
2 parents ad2a587 + dddf2dc commit f2f2bdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ mod tests {
&mut buffer,
);

assert_eq!(buffer, &[0, 1, 2]);
assert_eq!(buffer, &[0, 1, 2, 0]);
}

#[test]
Expand All @@ -2053,7 +2053,7 @@ mod tests {
&mut buffer,
);

assert_eq!(buffer, &[6, 0, 5, 6, 4, 3, 6, 2, 1, 6]);
assert_eq!(buffer, &[6, 1, 2, 6, 3, 4, 6, 5, 0, 6]);
}

#[test]
Expand All @@ -2074,7 +2074,7 @@ mod tests {

assert_eq!(
buffer,
&[9, 10, 11, 0, 8, 9, 7, 11, 6, 5, 11, 4, 10, 3, 2, 10, 1, 9]
&[9, 10, 11, 9, 0, 8, 9, 7, 11, 6, 5, 11, 4, 10, 3, 2, 10, 1, 9, 0]
);
}

Expand Down

0 comments on commit f2f2bdc

Please sign in to comment.