UniSet 2.45.1
Класс tests.test_parser.TestMinimalST

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

 test_parses_successfully (self)
 test_program_name (self)
 test_variable_declarations (self)
 test_input_variable_names (self)
 test_body_has_statements (self)

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

Tests for the minimal.st fixture file.

Методы

◆ test_body_has_statements()

tests.test_parser.TestMinimalST.test_body_has_statements ( self)
Verify that the program body contains IF statements.

◆ test_input_variable_names()

tests.test_parser.TestMinimalST.test_input_variable_names ( self)
Verify input variables are Temperature and StartButton.

◆ test_variable_declarations()

tests.test_parser.TestMinimalST.test_variable_declarations ( self)
Verify that parsed AST contains expected variable sections.