Skip to content

Commit a42e1f1

Browse files
mangelatsLuthaf
authored andcommitted
Improve test names
1 parent aa67630 commit a42e1f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/index.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ where
1515
}
1616

1717
#[test]
18-
fn test_vec_usize() {
18+
fn index_vec_with_usize() {
1919
let mut aos = Vec::new();
2020
let mut soa = ParticleVec::new();
2121

@@ -61,7 +61,7 @@ fn test_vec_usize() {
6161
}
6262

6363
#[test]
64-
fn test_vec_ranges() {
64+
fn index_vec_with_ranges() {
6565
let mut particles = Vec::new();
6666
particles.push(Particle::new(String::from("Cl"), 1.0));
6767
particles.push(Particle::new(String::from("Na"), 2.0));
@@ -128,7 +128,7 @@ fn test_vec_ranges() {
128128
}
129129

130130
#[test]
131-
fn test_slice_usize() {
131+
fn index_slice_with_usize() {
132132
let mut aos = Vec::new();
133133
let mut soa = ParticleVec::new();
134134

@@ -180,7 +180,7 @@ fn test_slice_usize() {
180180
}
181181

182182
#[test]
183-
fn test_slice_ranges() {
183+
fn index_slice_with_ranges() {
184184
let mut particles = Vec::new();
185185
particles.push(Particle::new(String::from("Cl"), 1.0));
186186
particles.push(Particle::new(String::from("Na"), 2.0));

0 commit comments

Comments
 (0)