|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Variables | |
| reason | |
| ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| CFG = os.path.join(ROOT, "configs", "ethalox_6800N.yaml") | |
| pytestmark | |
The iteration tools: pressurant swap, injector what-ifs, drill choices.
Checked against things that exist independently of the code under test:
* feed-twin ships the stand drawn twice, once with GN2 and once with helium. Swapping the GN2
drawing's pressurant must reproduce the helium drawing's fluids exactly, and burn the same;
* a what-if patch lands on the injector and the passage L/d it was given, and the router
refuses one outside its limits;
* number drills are ASME B94.11M's.
|
protected |
Definition at line 39 of file test_layerx_iterate.py.
Referenced by test_a_copv_drawn_as_a_tank_is_swapped_too(), and test_swapping_gn2_for_helium_is_the_helium_drawing().
| test_layerx_iterate.drawings | ( | ) |
Definition at line 35 of file test_layerx_iterate.py.
| test_layerx_iterate.test_a_copv_drawn_as_a_tank_is_swapped_too | ( | ) |
A pid-designer drawing can draw its COPV with the tank symbol (copv is a tank wall material there); feedtwin reads a TANK holding gas above its critical temperature as the pressurant bottle. The swap looked only for KBOTTLE symbols, found none, and changed nothing -- so "Use helium" on LE4 left it on nitrogen and the GN2-over-LOX check kept blocking the run.
Definition at line 55 of file test_layerx_iterate.py.
References _fluids().
| test_layerx_iterate.test_a_design_patch_lands_and_is_bounded | ( | ) |
Definition at line 94 of file test_layerx_iterate.py.
| test_layerx_iterate.test_a_swapped_drawing_burns_as_the_drawn_one | ( | drawings | ) |
Definition at line 80 of file test_layerx_iterate.py.
| test_layerx_iterate.test_swapping_gn2_for_helium_is_the_helium_drawing | ( | drawings | ) |
Definition at line 43 of file test_layerx_iterate.py.
References _fluids().
| test_layerx_iterate.test_the_nearest_drill_is_the_standard_one | ( | no, | |
| inch ) |
Definition at line 112 of file test_layerx_iterate.py.
| test_layerx_iterate.CFG = os.path.join(ROOT, "configs", "ethalox_6800N.yaml") |
Definition at line 29 of file test_layerx_iterate.py.
| test_layerx_iterate.pytestmark |
Definition at line 30 of file test_layerx_iterate.py.
| test_layerx_iterate.reason |
Definition at line 20 of file test_layerx_iterate.py.
| test_layerx_iterate.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
Definition at line 28 of file test_layerx_iterate.py.