Skip to content

Commit

Permalink
tests/data/solar_system
Browse files Browse the repository at this point in the history
  • Loading branch information
bessarabov committed Nov 18, 2023
1 parent 7d83d68 commit 93d7594
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/data/solar_system/cmd_and_expected_output
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$ cat $TEST_DIR/objects.tsv | $TSV2TABLE
Name | Diameter (km) | Mass (10^24 kg) | Orbital Period (days)
------------------------------------------------------------------
Sun | 1392684 | 1989100 |
Mercury | 4880 | 0.330 | 88
Venus | 12104 | 4.87 | 225
Earth | 12742 | 5.97 | 365.25
Mars | 6779 | 0.642 | 687
Ceres | 939 | 0.939 | 1682
Jupiter | 139820 | 1898 | 4333
Saturn | 116460 | 568.3 | 10747
Uranus | 50724 | 86.8 | 30589
Neptune | 49244 | 102.0 | 59800
Pluto | 2377 | 0.0146 | 90560
Makemake | 1430 | | 111845
Haumea | 1960 | | 103658
Eris | 2326 | 0.167 | 204536
15 changes: 15 additions & 0 deletions tests/data/solar_system/objects.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Name Diameter (km) Mass (10^24 kg) Orbital Period (days)
Sun 1392684 1989100
Mercury 4880 0.330 88
Venus 12104 4.87 225
Earth 12742 5.97 365.25
Mars 6779 0.642 687
Ceres 939 0.939 1682
Jupiter 139820 1898 4333
Saturn 116460 568.3 10747
Uranus 50724 86.8 30589
Neptune 49244 102.0 59800
Pluto 2377 0.0146 90560
Makemake 1430 111845
Haumea 1960 103658
Eris 2326 0.167 204536

0 comments on commit 93d7594

Please sign in to comment.