Old Python new unitTest
Die alte Datei neu mit UnitTest überprüfen
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user