@@ -354,8 +354,8 @@ fn ship_foot_to_pfc() {
354
354
"ShipmentFootprint with id shipment-test"
355
355
) ;
356
356
assert_eq ! ( pfc. pcf. declared_unit, DeclaredUnit :: TonKilometer ) ;
357
- assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 33840 ) . into ( ) ) ;
358
- assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 3131.06 ) . into ( ) ) ;
357
+ assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 33840 ) ) ;
358
+ assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 3131.06 ) ) ;
359
359
}
360
360
361
361
#[ test]
@@ -401,8 +401,8 @@ fn toc_to_pcf() {
401
401
402
402
assert_eq ! ( pfc. product_name_company. 0 , "TOC with ID toc-test" ) ;
403
403
assert_eq ! ( pfc. pcf. declared_unit, DeclaredUnit :: TonKilometer ) ;
404
- assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 1 ) . into ( ) ) ;
405
- assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 0.007 ) . into ( ) ) ;
404
+ assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 1 ) ) ;
405
+ assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 0.007 ) ) ;
406
406
}
407
407
408
408
#[ test]
@@ -452,6 +452,6 @@ fn hoc_to_pfc() {
452
452
453
453
assert_eq ! ( pfc. product_name_company. 0 , "HOC with ID hoc-test" ) ;
454
454
assert_eq ! ( pfc. pcf. declared_unit, DeclaredUnit :: Kilogram ) ;
455
- assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 1000 ) . into ( ) ) ;
456
- assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 33 ) . into ( ) ) ;
455
+ assert_eq ! ( pfc. pcf. unitary_product_amount. 0 , dec!( 1000 ) ) ;
456
+ assert_eq ! ( pfc. pcf. p_cf_excluding_biogenic. 0 , dec!( 33 ) ) ;
457
457
}
0 commit comments