File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed
Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,22 @@ fn simple_route() {
3434fn test_serialize1 ( ) {
3535 let _ = simple_logger:: SimpleLogger :: new ( ) . with_level ( LevelFilter :: Debug ) . env ( ) . init ( ) ;
3636 let rou = TradeRouteFile {
37- stops : vec ! [ TradeRouteStop {
38- town_index: 0 ,
39- action: 0 ,
40- order: DEFAULT_ORDER ,
41- price: [ 400 ; 24 ] ,
42- amount: [ 2000 ; 24 ] ,
43- } , TradeRouteStop {
44- town_index: 1 ,
45- action: 0 ,
46- order: DEFAULT_ORDER ,
47- price: [ 300 ; 24 ] ,
48- amount: [ 2000 ; 24 ] ,
49- } ] ,
37+ stops : vec ! [
38+ TradeRouteStop {
39+ town_index: 0 ,
40+ action: 0 ,
41+ order: DEFAULT_ORDER ,
42+ price: [ 400 ; 24 ] ,
43+ amount: [ 2000 ; 24 ] ,
44+ } ,
45+ TradeRouteStop {
46+ town_index: 1 ,
47+ action: 0 ,
48+ order: DEFAULT_ORDER ,
49+ price: [ 300 ; 24 ] ,
50+ amount: [ 2000 ; 24 ] ,
51+ } ,
52+ ] ,
5053 } ;
5154
5255 let data = rou. serialize ( ) ;
You can’t perform that action at this time.
0 commit comments