feat: Begins adding html snapshot tests.
This commit is contained in:
@@ -6,16 +6,16 @@ public enum HeatingBalancePoint {
|
||||
Calculate the heating balance point.
|
||||
"""
|
||||
|
||||
public enum Mode: String, CaseIterable, Codable, Equatable, Sendable {
|
||||
public enum Mode: String, CaseIterable, Codable, Equatable, Sendable, Hashable {
|
||||
case economic
|
||||
case thermal
|
||||
}
|
||||
|
||||
public enum Request: Codable, Equatable, Sendable {
|
||||
public enum Request: Codable, Equatable, Sendable, Hashable {
|
||||
case economic(Economic)
|
||||
case thermal(Thermal)
|
||||
|
||||
public struct Economic: Codable, Equatable, Sendable {
|
||||
public struct Economic: Codable, Equatable, Sendable, Hashable {
|
||||
|
||||
public let fuelType: FuelType
|
||||
public let fuelCostPerUnit: Double
|
||||
@@ -35,7 +35,7 @@ public enum HeatingBalancePoint {
|
||||
}
|
||||
}
|
||||
|
||||
public struct Thermal: Codable, Equatable, Sendable {
|
||||
public struct Thermal: Codable, Equatable, Sendable, Hashable {
|
||||
|
||||
public let systemSize: Double
|
||||
public let capacityAt47: Double?
|
||||
@@ -119,9 +119,9 @@ public enum HeatingBalancePoint {
|
||||
}
|
||||
}
|
||||
|
||||
public enum HeatLoss: Codable, Equatable, Sendable {
|
||||
public enum HeatLoss: Codable, Equatable, Sendable, Hashable {
|
||||
|
||||
public enum Mode: String, CaseIterable, Codable, Equatable, Sendable {
|
||||
public enum Mode: String, CaseIterable, Codable, Equatable, Sendable, Hashable {
|
||||
case estimated
|
||||
case known
|
||||
}
|
||||
@@ -137,7 +137,7 @@ public enum HeatingBalancePoint {
|
||||
}
|
||||
}
|
||||
|
||||
public enum FuelType: String, CaseIterable, Codable, Equatable, Sendable {
|
||||
public enum FuelType: String, CaseIterable, Codable, Equatable, Sendable, Hashable {
|
||||
case naturalGas
|
||||
case propane
|
||||
case oil
|
||||
|
||||
Reference in New Issue
Block a user