UniSet 2.45.1
Класс tests.test_codegen_scale.TestScaleFactorE2E

Открытые члены

 test_input_scale_in_e2e (self)
 test_output_scale_in_e2e (self)
 test_body_uses_st_names (self)
 test_non_scaled_input_not_affected (self)
 test_non_scaled_output_not_affected (self)
 test_cli_with_scale (self)

Защищенные члены

str _run_pipeline (self)

Подробное описание

E2E test with scale_test.st + scale_mapping.yaml.

Методы

◆ test_body_uses_st_names()

tests.test_codegen_scale.TestScaleFactorE2E.test_body_uses_st_names ( self)
Body should use Temperature, not in_AI_Temp_S.

◆ test_cli_with_scale()

tests.test_codegen_scale.TestScaleFactorE2E.test_cli_with_scale ( self)
Test scale factors through CLI subprocess.

◆ test_non_scaled_input_not_affected()

tests.test_codegen_scale.TestScaleFactorE2E.test_non_scaled_input_not_affected ( self)
StartButton has no scale, should still use in_ prefix directly.

◆ test_non_scaled_output_not_affected()

tests.test_codegen_scale.TestScaleFactorE2E.test_non_scaled_output_not_affected ( self)
Alarm has no scale, should use normal out_ prefix.