( modelId: CameraModelId, params: number[], width = 1920, height = 1080 )
| 12 | |
| 13 | // Helper to create test cameras |
| 14 | function makeCamera( |
| 15 | modelId: CameraModelId, |
| 16 | params: number[], |
| 17 | width = 1920, |
| 18 | height = 1080 |
| 19 | ): Camera { |
| 20 | return { |
| 21 | cameraId: 1, |
| 22 | modelId, |
| 23 | width, |
| 24 | height, |
| 25 | params, |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | describe('canConvertModel', () => { |
| 30 | describe('same model', () => { |
no outgoing calls
no test coverage detected