STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_layer1_bounds_fix Namespace Reference

Functions

 test_layer1_config_bounds_validation ()
 test_layer1_config_validation_catches_swapped_bounds ()
 test_bounds_array_generation ()

Variables

 pytestmark = pytest.mark.skip(reason="references nonexistent Layer1OptimizerConfig; bounds are now inline arrays")

Detailed Description

Test to verify Layer 1 optimizer bounds are correct after bug fix.

Function Documentation

◆ test_bounds_array_generation()

test_layer1_bounds_fix.test_bounds_array_generation ( )
Verify bounds array used by optimizer has correct order.

Definition at line 68 of file test_layer1_bounds_fix.py.

References test_bounds_array_generation(), test_layer1_config_bounds_validation(), and test_layer1_config_validation_catches_swapped_bounds().

Referenced by test_bounds_array_generation().

◆ test_layer1_config_bounds_validation()

test_layer1_bounds_fix.test_layer1_config_bounds_validation ( )
Verify Layer1OptimizerConfig validates bounds correctly.

Definition at line 14 of file test_layer1_bounds_fix.py.

Referenced by test_bounds_array_generation().

◆ test_layer1_config_validation_catches_swapped_bounds()

test_layer1_bounds_fix.test_layer1_config_validation_catches_swapped_bounds ( )
Verify __post_init__ validation catches swapped bounds.

Definition at line 47 of file test_layer1_bounds_fix.py.

Referenced by test_bounds_array_generation().

Variable Documentation

◆ pytestmark

test_layer1_bounds_fix.pytestmark = pytest.mark.skip(reason="references nonexistent Layer1OptimizerConfig; bounds are now inline arrays")

Definition at line 11 of file test_layer1_bounds_fix.py.