-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Space faker * Space faker tidy-up: Reformat space data. Add missing unit test. Remove method copied from other faker. * Add Space faker to Faker.cs * Add docs for Space faker. * Tidy up Space doc * Tidy up Space doc * Ensured the faker is the same format as the rest. * Updated the tests.
- Loading branch information
Showing
11 changed files
with
1,081 additions
and
361 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Faker.Space | ||
|
||
```cs | ||
// Random planet from our Solar System | ||
Faker.Space.Planet() //=> "Venus" | ||
// Random moon from our Solar System | ||
Faker.Space.Moon() //=> "Europa" | ||
// Random galaxy | ||
Faker.Space.Galaxy() //=> "Andromeda" | ||
// Random nebula name | ||
Faker.Space.Nebula() //=> "Triffid Nebula" | ||
// Random star cluster | ||
Faker.Space.StarCluster() //=> "Messier 70" | ||
// Random constellation | ||
Faker.Space.Constellation() //=> "Orion" | ||
// Random star | ||
Faker.Space.Star() //=> "Proxima Centauri" | ||
// Random national space agency | ||
Faker.Space.Agency() //=> "Japan Aerospace Exploration Agency" | ||
// Random space agency abbreviation | ||
Faker.Space.AgencyAbv() //=> "NASA" | ||
// Random spacecraft name (limited to NASA) | ||
Faker.Space.NaseSpaceCraft() //=> "Endeavour" | ||
// Random private space company title | ||
Faker.Space.Company() //=> "SpaceX" | ||
// Random unit of stellar distance with number | ||
Faker.Space.DistanceMeasurement() //=> "15 parsecs" | ||
// Random meteorite name | ||
Faker.Space.Meteorite() //=> "Ensisheim" | ||
// Random launch vehicule name | ||
Faker.Space.LaunchVehicle() //=> "Saturn IV" | ||
``` |
Oops, something went wrong.