Structs§
- Bed
- Represents a bed, including its name, dimensions, and comfort level.
- BedDimensions
- Represents the dimensions of a bed.
Functions§
- calculate_
suitability_ score - Calculates a suitability score for a bed based on the number of sleepers. This is a simplified heuristic.
- compare_
beds - Compares two beds and returns the name of the bed considered “better” based on comfort score and area. If they are equal, returns “It’s a tie!”.
- visit_
site - Returns the official website URL.