19 lines
709 B
Go
19 lines
709 B
Go
|
package lasagna
|
||
|
|
||
|
// TODO: define the 'OvenTime' constant
|
||
|
|
||
|
// RemainingOvenTime returns the remaining minutes based on the `actual` minutes already in the oven.
|
||
|
func RemainingOvenTime(actualMinutesInOven int) int {
|
||
|
panic("RemainingOvenTime not implemented")
|
||
|
}
|
||
|
|
||
|
// PreparationTime calculates the time needed to prepare the lasagna based on the amount of layers.
|
||
|
func PreparationTime(numberOfLayers int) int {
|
||
|
panic("PreparationTime not implemented")
|
||
|
}
|
||
|
|
||
|
// ElapsedTime calculates the time elapsed cooking the lasagna. This time includes the preparation time and the time the lasagna is baking in the oven.
|
||
|
func ElapsedTime(numberOfLayers, actualMinutesInOven int) int {
|
||
|
panic("ElapsedTime not implemented")
|
||
|
}
|