UniSet 2.45.1
Класс tests.test_transformer_fb.TestFBCallsFixture

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

IRProgram program (self)
 test_has_four_fb_instances (self, IRProgram program)
 test_fb_instance_types (self, IRProgram program)
 test_has_no_extra_locals (self, IRProgram program)
 test_body_has_six_statements (self, IRProgram program)
 test_first_statement_is_fb_call (self, IRProgram program)
 test_second_statement_is_assignment_with_field_access (self, IRProgram program)

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

Test transformation of the fb_calls.st fixture.

Методы

◆ test_body_has_six_statements()

tests.test_transformer_fb.TestFBCallsFixture.test_body_has_six_statements ( self,
IRProgram program )
4 FB calls + 2 assignments = 6 statements.

◆ test_has_no_extra_locals()

tests.test_transformer_fb.TestFBCallsFixture.test_has_no_extra_locals ( self,
IRProgram program )
FB instances should not be in locals list.