-
-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Description
The tests in the pizza-slices exercise has:
swift/exercises/concept/pizza-slices/Tests/PizzaSlicesTests/PizzaSlicesTests.swift
Lines 71 to 72 in 4dea7e2
let biggest = biggestSlice(diameterA: "0", slicesA: "8", diameterB: "16 inches", slicesB: "8") | |
XCTAssertEqual(biggest, "Slice A is bigger") |
First of all, I would have assumed that a pizza with a diameter of 0 is no pizza. But even if we consider that such a pizza might exist: A pizza with a diameter of 0 couldn't possibly have a larger per-slice area than a slice of a pizza with a diameter of 16", regardless of how many slices you cut the second pizza into.
Metadata
Metadata
Assignees
Labels
No labels