Created
March 27, 2019 10:41
-
-
Save jasongorman/8ee175b82a0ecd2cca9e2da26cfc8a78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
fun quoteForRectangularRoomWithNoRounding(){ | |
assertEquals(62.5, quote(room(2.5, 2.5), carpet(10.0, false))); | |
} | |
@Test | |
fun quoteForRectangularRoomWithRounding(){ | |
assertEquals(70.0, quote(room(2.5, 2.5), carpet(10.0, true))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment