|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| None | test_the_atmosphere_is_14_696_psia () |
| None | test_a_gauge_number_reads_an_atmosphere_higher () |
| None | test_say_spells_a_pressure_in_psia (float pascal, int places, str said) |
| None | test_there_is_one_formatter () |
| None | test_a_vessel_s_trip_limit_is_said_in_psia () |
People read psia (ADR 0007): one formatter, and the words that use it. Checked against arithmetic, not against the code: a standard atmosphere is 101,325 Pa and a psi is 6,894.757 Pa, so the stand's 500 psig dome is 514.696 psia and a vented tank reads 14.7. The wire keeps gauge -- :func:`psig` and :func:`from_psig` are untouched -- and nothing here may move a number in the model: a session's words change, not its state.
| None test_people_read_psia.test_a_gauge_number_reads_an_atmosphere_higher | ( | ) |
Definition at line 34 of file test_people_read_psia.py.
| None test_people_read_psia.test_a_vessel_s_trip_limit_is_said_in_psia | ( | ) |
Burst over the factor of safety is a limit across the wall: 1,500 psi of burst over two is 750 psi across it, which a person reads as 764.7 psia.
Definition at line 63 of file test_people_read_psia.py.
| None test_people_read_psia.test_say_spells_a_pressure_in_psia | ( | float | pascal, |
| int | places, | ||
| str | said ) |
Definition at line 53 of file test_people_read_psia.py.
| None test_people_read_psia.test_the_atmosphere_is_14_696_psia | ( | ) |
Definition at line 27 of file test_people_read_psia.py.
| None test_people_read_psia.test_there_is_one_formatter | ( | ) |
The session's address is the drawing reader's function, not a copy.
Definition at line 57 of file test_people_read_psia.py.