Created
March 26, 2013 03:38
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
private val seedTestData: List[Int] = (1 to 100).toList | |
private def intToName(i: Int): Name = Name(i.toString) | |
private def intToNumber(i: Int): Number = Number(i.toString) | |
private def intToRegistration(i: Int): Registration = Registration(i.toString) | |
private def intToTaxOwed(i: Int): TaxOwed = TaxOwed(i.toDouble) | |
val names: List[Name] = seedTestData map intToName | |
val numbers: List[Number] = seedTestData map intToNumber | |
val registrations: List[Registration] = seedTestData map intToRegistration | |
val taxesOwed: List[TaxOwed] = seedTestData map intToTaxOwed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment