@@ -2812,8 +2812,8 @@ mod tests {
28122812 // Create 4D test grid
28132813 let x0_coords = create_logspaced ( 1e-5 , 1e-3 , 6 ) ;
28142814 let x1_coords = create_logspaced ( 1e2 , 1e4 , 6 ) ;
2815- let x2_coords = vec ! [ 1.0 , 5.0 , 25.0 , 100.0 , 150.0 , 200.0 ] ;
2816- let x3_coords = vec ! [ 0.5 , 1.0 , 2.0 , 5.0 , 10.0 , 20.0 ] ;
2815+ let x2_coords = [ 1.0 , 5.0 , 25.0 , 100.0 , 150.0 , 200.0 ] ;
2816+ let x3_coords = [ 0.5 , 1.0 , 2.0 , 5.0 , 10.0 , 20.0 ] ;
28172817
28182818 // Generate test values: f(x0, x1, x2, x3) = x0 * x1 * x2 * x3
28192819 let values: Vec < f64 > = x0_coords
@@ -2871,10 +2871,10 @@ mod tests {
28712871 use ninterp:: data:: InterpDataND ;
28722872
28732873 // Test that interpolation at grid points returns exact values
2874- let x0_coords = vec ! [ 0.1 , 0.2 , 0.3 , 0.4 ] ;
2875- let x1_coords = vec ! [ 1.0 , 2.0 , 3.0 , 4.0 ] ;
2876- let x2_coords = vec ! [ 10.0 , 20.0 , 30.0 , 40.0 ] ;
2877- let x3_coords = vec ! [ 100.0 , 200.0 , 300.0 , 400.0 ] ;
2874+ let x0_coords = [ 0.1 , 0.2 , 0.3 , 0.4 ] ;
2875+ let x1_coords = [ 1.0 , 2.0 , 3.0 , 4.0 ] ;
2876+ let x2_coords = [ 10.0 , 20.0 , 30.0 , 40.0 ] ;
2877+ let x3_coords = [ 100.0 , 200.0 , 300.0 , 400.0 ] ;
28782878
28792879 let values: Vec < f64 > = x0_coords
28802880 . iter ( )
@@ -2957,9 +2957,9 @@ mod tests {
29572957 // Create 5D test grid
29582958 let x0_coords = create_logspaced ( 1e-5 , 1e-3 , 5 ) ;
29592959 let x1_coords = create_logspaced ( 1e2 , 1e4 , 5 ) ;
2960- let x2_coords = vec ! [ 1.0 , 5.0 , 25.0 , 100.0 , 200.0 ] ;
2961- let x3_coords = vec ! [ 0.5 , 1.0 , 2.0 , 5.0 , 10.0 ] ;
2962- let x4_coords = vec ! [ 10.0 , 20.0 , 50.0 , 100.0 , 200.0 ] ;
2960+ let x2_coords = [ 1.0 , 5.0 , 25.0 , 100.0 , 200.0 ] ;
2961+ let x3_coords = [ 0.5 , 1.0 , 2.0 , 5.0 , 10.0 ] ;
2962+ let x4_coords = [ 10.0 , 20.0 , 50.0 , 100.0 , 200.0 ] ;
29632963
29642964 // Generate test values: f(x0, x1, x2, x3, x4) = x0 * x1 * x2 * x3 * x4
29652965 let values: Vec < f64 > = x0_coords
@@ -3026,11 +3026,11 @@ mod tests {
30263026 use ninterp:: data:: InterpDataND ;
30273027
30283028 // Test that interpolation at grid points returns exact values
3029- let x0_coords = vec ! [ 0.1 , 0.2 , 0.3 , 0.4 ] ;
3030- let x1_coords = vec ! [ 1.0 , 2.0 , 3.0 , 4.0 ] ;
3031- let x2_coords = vec ! [ 10.0 , 20.0 , 30.0 , 40.0 ] ;
3032- let x3_coords = vec ! [ 100.0 , 200.0 , 300.0 , 400.0 ] ;
3033- let x4_coords = vec ! [ 1000.0 , 2000.0 , 3000.0 , 4000.0 ] ;
3029+ let x0_coords = [ 0.1 , 0.2 , 0.3 , 0.4 ] ;
3030+ let x1_coords = [ 1.0 , 2.0 , 3.0 , 4.0 ] ;
3031+ let x2_coords = [ 10.0 , 20.0 , 30.0 , 40.0 ] ;
3032+ let x3_coords = [ 100.0 , 200.0 , 300.0 , 400.0 ] ;
3033+ let x4_coords = [ 1000.0 , 2000.0 , 3000.0 , 4000.0 ] ;
30343034
30353035 let values: Vec < f64 > = x0_coords
30363036 . iter ( )
0 commit comments