Awesome-Python-Scripts/Pressure_Converter
E-wave 592c5a1d26
A Pressure Converter Script (#242)
* added the pressure converter script

* added the pressure converter script

* added the pressure converter script
2021-10-28 08:17:40 +05:30
..
pressure_converter_script.py A Pressure Converter Script (#242) 2021-10-28 08:17:40 +05:30
README.md A Pressure Converter Script (#242) 2021-10-28 08:17:40 +05:30
requirements.txt A Pressure Converter Script (#242) 2021-10-28 08:17:40 +05:30

Developed and maintained by Osagie Iyayi

  • This simple program converts between different common units of pressure such as Pascal(Pa),Bar(bar),Millimeter Mercury(mmHg) and atmosphere(atm). the test cases are based on the fact that the value of pressure on it's own can never be negative,except in cases where it is relative to another kind of pressure.

  • Run the doctest via the command

$ python -m doctest -v Pressure_Converter/pressure_converter_script.py