def test_06(self): # Arrange data = ['@startuml\\n', ' allMyBlocks\\n', ' getBlock()\\n', '}\\n'] validate = ValidateData(data) expected_result = False # Act actual_result = validate.check_class_count() # Assert self.assertEqual(actual_result, expected_result, 'Expected to be False')
def test_05(self): # Arrange data = [ '@startuml\\n', 'class LevelEditor{\\n', ' allMyBlocks\\n', ' getBlock()\\n', '}\\n', 'class GamePlayer{\\n', 'myPosition', '}\\n', '@enduml' ] validate = ValidateData(data) expected_result = True # Act actual_result = validate.check_class_count() # Assert self.assertEqual(actual_result, expected_result, 'Expected to be False')