From 93d7594a200ddee7a004caec23e8d29241b539ad Mon Sep 17 00:00:00 2001 From: Ivan Bessarabov Date: Sat, 18 Nov 2023 16:23:32 +0000 Subject: [PATCH] tests/data/solar_system --- tests/data/solar_system/cmd_and_expected_output | 17 +++++++++++++++++ tests/data/solar_system/objects.tsv | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tests/data/solar_system/cmd_and_expected_output create mode 100644 tests/data/solar_system/objects.tsv diff --git a/tests/data/solar_system/cmd_and_expected_output b/tests/data/solar_system/cmd_and_expected_output new file mode 100644 index 0000000..5ffb8ec --- /dev/null +++ b/tests/data/solar_system/cmd_and_expected_output @@ -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 diff --git a/tests/data/solar_system/objects.tsv b/tests/data/solar_system/objects.tsv new file mode 100644 index 0000000..f7d4481 --- /dev/null +++ b/tests/data/solar_system/objects.tsv @@ -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