Old Python new unitTest

Die alte Datei neu mit UnitTest überprüfen
This commit is contained in:
chk
2026-05-24 22:32:19 +02:00
parent 8d50b9801e
commit 1534170b7f
9 changed files with 83 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ const path = require('path');
describe('Camera Pose Script', () => {
const projectRoot = path.resolve(__dirname, '..');
const scriptPath = path.resolve(projectRoot, 'programs/03a_cameraPose.py');
const timestamp = 11778819665744;
const timestamp = 1778819665744;
const sceneFile = path.resolve(projectRoot, `test/data/screenShots/scene_${timestamp}.json`);
const robotDir = path.resolve(projectRoot, 'test/data/robot');
const robotFile = path.resolve(robotDir, 'robot.json');
@@ -44,6 +44,6 @@ describe('Camera Pose Script', () => {
});
test('should handle timestamp parameter correctly', () => {
expect(timestamp).toBe(11778819665744);
expect(timestamp).toBe(1778819665744);
});
});