feat: Reverts static pressure.
This commit is contained in:
@@ -173,6 +173,39 @@ final class FlaggedMeasurementListReducerTests: XCTestCase {
|
||||
await store.finish()
|
||||
|
||||
}
|
||||
|
||||
// @MainActor
|
||||
// func testBindingsSetSharedState() async {
|
||||
// let store = TestStore(
|
||||
// initialState: FlaggedMeasurementsList.State(
|
||||
// sharedSettings: Shared(SharedPressureEstimationState(
|
||||
// budgets: nil,
|
||||
// equipmentMeasurement: .mock(type: .airHandler),
|
||||
// equipmentMetadata: .init(
|
||||
// coolingCapacity: .three,
|
||||
// fanType: .constantSpeed,
|
||||
// ratedStaticPressures: .init()
|
||||
// )
|
||||
// ))
|
||||
// )
|
||||
// ) {
|
||||
// FlaggedMeasurementsList()
|
||||
// }
|
||||
//
|
||||
// await store.send(.binding(.set(\.maxStaticPressure, nil))) {
|
||||
// $0.maxStaticPressure = nil
|
||||
// $0.sharedSettings.ratedStaticPressures.maximum = 0
|
||||
// }
|
||||
// await store.send(.binding(.set(\.minStaticPressure, nil))) {
|
||||
// $0.minStaticPressure = nil
|
||||
// $0.sharedSettings.ratedStaticPressures.minimum = 0
|
||||
// }
|
||||
// await store.send(.binding(.set(\.ratedStaticPressure, nil))) {
|
||||
// $0.ratedStaticPressure = nil
|
||||
// $0.sharedSettings.ratedStaticPressures.rated = 0
|
||||
// }
|
||||
//
|
||||
// }
|
||||
}
|
||||
|
||||
extension Tag {
|
||||
|
||||
Reference in New Issue
Block a user