Last active
December 11, 2022 08:41
-
-
Save krzdabrowski/eade206f249b7030134869a96891bd32 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
internal fun generateTestRocketsFromDomain() = listOf( | |
Rocket( | |
id = "1", | |
name = "test rocket", | |
costPerLaunch = 10_000_000, | |
firstFlight = LocalDate.parse("2022-09-25"), | |
height = 20, | |
weight = 30_000, | |
wikiUrl = "https://testrocket.com", | |
imageUrl = "https://testrocket.com/1.jpg" | |
), | |
Rocket( | |
id = "2", | |
name = "test rocket 2", | |
costPerLaunch = 20_000_000, | |
firstFlight = LocalDate.parse("2022-09-25"), | |
height = 40, | |
weight = 50_000, | |
wikiUrl = "https://testrocket.com", | |
imageUrl = "https://testrocket.com/2.jpg" | |
), | |
Rocket( | |
id = "3", | |
name = "test rocket 3", | |
costPerLaunch = 30_000_000, | |
firstFlight = LocalDate.parse("2022-09-25"), | |
height = 60, | |
weight = 70_000, | |
wikiUrl = "https://testrocket.com", | |
imageUrl = "https://testrocket.com/3.jpg" | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment