These tests:
-
If you run
./element.sh 1
,./element.sh H
, or./element.sh Hydrogen
, it should outputThe element with atomic number 1 is Hydrogen (H). It's a nonmetal, with a mass of 1.008 amu. Hydrogen has a melting point of -259.1 celsius and a boiling point of -252.9 celsius.
-
If you run
./element.sh
script with another element as input, you should get the same output but with information associated with the given element. -
If the argument input to your
element.sh
script doesn’t exist as anatomic_number
,symbol
, orname
in the database, the output should beI could not find that element in the database.
will not pass. The output looks identical to the statements above (even did a copy and paste of them, and updated the relevant variables), but the tests won’t pass).
Any help would be appreciated!
Gerry