feat: port backend implementation from lab1

This commit is contained in:
Голиков Maximillian Антон
2026-09-30 22:32:04 +03:00
parent 65003b6119
commit 380d0ef710
34 changed files with 1795 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
import subprocess
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent
def main():
args = sys.argv[1:]
for script in ('test_cases.py', 'test_concurrency.py'):
print(f'=== {script} ===')
result = subprocess.run([sys.executable, str(ROOT / script), *args])
if result.returncode != 0:
sys.exit(result.returncode)
print('=== Все тесты прошли ===')
if __name__ == '__main__':
main()