forked from M-Labs/nalgebra
chore: swap test names
This commit is contained in:
parent
666b0fd2de
commit
b39bd09eaa
@ -185,8 +185,8 @@ fn coo_try_from_triplets_reports_out_of_bounds_indices() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn coo_try_from_triplets_panics_on_mismatched_vectors() {
|
fn coo_try_from_triplets_iter() {
|
||||||
// Check that try_from_triplets panics when the triplet vectors have different lengths
|
// Check that try_from_triplets_iter panics when the triplet vectors have different lengths
|
||||||
macro_rules! assert_errs {
|
macro_rules! assert_errs {
|
||||||
($result:expr) => {
|
($result:expr) => {
|
||||||
assert!(matches!(
|
assert!(matches!(
|
||||||
@ -210,7 +210,7 @@ fn coo_try_from_triplets_panics_on_mismatched_vectors() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn coo_try_from_triplets_iter() {
|
fn coo_try_from_triplets_panics_on_mismatched_vectors() {
|
||||||
// Check that try_from_triplets panics when the triplet vectors have different lengths
|
// Check that try_from_triplets panics when the triplet vectors have different lengths
|
||||||
macro_rules! assert_errs {
|
macro_rules! assert_errs {
|
||||||
($result:expr) => {
|
($result:expr) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user