@@ -5314,7 +5314,7 @@ mod tests {
5314
5314
fn generate_routes ( ) {
5315
5315
use routing:: scoring:: { ProbabilisticScorer , ProbabilisticScoringParameters } ;
5316
5316
5317
- let mut d = match super :: test_utils :: get_route_file ( ) {
5317
+ let mut d = match super :: bench_utils :: get_route_file ( ) {
5318
5318
Ok ( f) => f,
5319
5319
Err ( e) => {
5320
5320
eprintln ! ( "{}" , e) ;
@@ -5351,7 +5351,7 @@ mod tests {
5351
5351
fn generate_routes_mpp ( ) {
5352
5352
use routing:: scoring:: { ProbabilisticScorer , ProbabilisticScoringParameters } ;
5353
5353
5354
- let mut d = match super :: test_utils :: get_route_file ( ) {
5354
+ let mut d = match super :: bench_utils :: get_route_file ( ) {
5355
5355
Ok ( f) => f,
5356
5356
Err ( e) => {
5357
5357
eprintln ! ( "{}" , e) ;
@@ -5422,7 +5422,7 @@ mod tests {
5422
5422
}
5423
5423
5424
5424
#[ cfg( all( test, not( feature = "no-std" ) ) ) ]
5425
- pub ( crate ) mod test_utils {
5425
+ pub ( crate ) mod bench_utils {
5426
5426
use std:: fs:: File ;
5427
5427
/// Tries to open a network graph file, or panics with a URL to fetch it.
5428
5428
pub ( crate ) fn get_route_file ( ) -> Result < std:: fs:: File , & ' static str > {
@@ -5470,7 +5470,7 @@ mod benches {
5470
5470
}
5471
5471
5472
5472
fn read_network_graph ( logger : & DummyLogger ) -> NetworkGraph < & DummyLogger > {
5473
- let mut d = test_utils :: get_route_file ( ) . unwrap ( ) ;
5473
+ let mut d = bench_utils :: get_route_file ( ) . unwrap ( ) ;
5474
5474
NetworkGraph :: read ( & mut d, logger) . unwrap ( )
5475
5475
}
5476
5476
0 commit comments