Decrease the number of tests in debug mode, to account for slower CI on Travis.

This commit is contained in:
Guillaume Endignoux
2020-02-06 13:41:18 +01:00
parent f5ed8a09f6
commit b162b690ba
3 changed files with 4 additions and 2 deletions

View File

@@ -912,6 +912,8 @@ pub mod test {
}
}
// Due to the 3 nested loops, this test is super slow with debug assertions enabled.
#[cfg(not(debug_assertions))]
#[test]
fn test_add_is_associative() {
for x in &get_test_values_projective() {