abidurrahman11 / abidurrahman11/Pygame-Racing-Car

[feature] Add test codes

Đang mở
#48 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
18
Fork
26
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Issue Type
- [ ] Bug report
- [ V ] Feature request
- [ ] Documentation update
- [ ] Other (please specify)

## Description
Currently, the codes of the game do not have any test codes. This issue proposes to add structured test cases for each code to improve reliability, support future refactoring, and ensure feature integrity.

## Expected behaviour
Each major module should have its own unit test file that:
- Verifies class initialization (`Game`)
- Validates asset loading behavior
- Confirms visual rendering logic does not raise errors during execution

## Actual behaviour
No test files exist for the codes. All logic currently runs without automated validation.

## Your Environment (for bugs):
- Operating System: Window 11

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.