@@ -132,6 +132,7 @@ mod thermo_tests {
132132 use uom:: si:: thermodynamic_temperature:: kelvin;
133133
134134 #[ test]
135+ #[ allow( dead_code) ]
135136 fn test_create_thermo_state ( ) {
136137 // Create some test data for ThermoMoleFrac (mole fractions)
137138 let water = Chemical {
@@ -159,9 +160,7 @@ mod thermo_tests {
159160 // Validate ThermoState
160161 assert_eq ! ( thermo_state. pressure. get:: <pascal>( ) , 101325.0 ) ;
161162 assert_eq ! ( thermo_state. temperature. get:: <kelvin>( ) , 298.15 ) ;
162- assert_eq ! ( thermo_state. mass_list. len( ) , 1 ) ; // Should contain one mole fraction entry
163-
164-
163+ assert_eq ! ( thermo_state. mass_list. len( ) , 1 ) ; // Should contain one mole fraction entry
165164
166165 // Check that the mole fraction's chemical is correctly set
167166 // assert_eq!(
@@ -208,15 +207,15 @@ mod thermo_tests {
208207 mass_quantity : anisidine_mass,
209208 } ;
210209
211- let therm_obj = ThermoState :: new (
210+ let _therm_obj = ThermoState :: new (
212211 101325.0 ,
213212 298.15 ,
214213 vec ! [ water_species_pair, anisidine_species_pair] ,
215214 ) ;
216215
217- let mass_fraction = therm_obj
218- . mass_frac ( & therm_obj . mass_list [ 0 ] . chemical_species )
219- . unwrap ( ) ;
216+ // let mass_fraction = _therm_obj
217+ // .mass_frac(&_therm_obj .mass_list[0].chemical_species)
218+ // .unwrap();
220219
221220 // assert!(
222221 // (mass_fraction - 0.2).abs() < 1e-6,
0 commit comments