@@ -363,7 +363,7 @@ mod tests {
363363 use crate :: fixture:: { agent_id, asset, process, region_id} ;
364364 use crate :: process:: Process ;
365365 use crate :: region:: RegionID ;
366- use crate :: units:: { Money , MoneyPerActivity } ;
366+ use crate :: units:: { Money , MoneyPerActivity , MoneyPerFlow } ;
367367 use float_cmp:: assert_approx_eq;
368368 use rstest:: rstest;
369369 use std:: rc:: Rc ;
@@ -551,7 +551,11 @@ mod tests {
551551 . map ( |( asset, metric) | AppraisalOutput {
552552 asset : AssetRef :: from ( asset) ,
553553 capacity : AssetCapacity :: Continuous ( Capacity ( 10.0 ) ) ,
554- coefficients : ObjectiveCoefficients :: default ( ) ,
554+ coefficients : ObjectiveCoefficients {
555+ capacity_coefficient : MoneyPerCapacity ( 0.0 ) ,
556+ activity_coefficients : IndexMap :: new ( ) ,
557+ unmet_demand_coefficient : MoneyPerFlow ( 0.0 ) ,
558+ } ,
555559 activity : IndexMap :: new ( ) ,
556560 demand : IndexMap :: new ( ) ,
557561 unmet_demand : IndexMap :: new ( ) ,
@@ -877,7 +881,11 @@ mod tests {
877881 . map ( |metric| AppraisalOutput {
878882 asset : AssetRef :: from ( asset. clone ( ) ) ,
879883 capacity : AssetCapacity :: Continuous ( Capacity ( 0.0 ) ) ,
880- coefficients : ObjectiveCoefficients :: default ( ) ,
884+ coefficients : ObjectiveCoefficients {
885+ capacity_coefficient : MoneyPerCapacity ( 0.0 ) ,
886+ activity_coefficients : IndexMap :: new ( ) ,
887+ unmet_demand_coefficient : MoneyPerFlow ( 0.0 ) ,
888+ } ,
881889 activity : IndexMap :: new ( ) ,
882890 demand : IndexMap :: new ( ) ,
883891 unmet_demand : IndexMap :: new ( ) ,
0 commit comments