MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / colmapRoundTrip.test.ts

File colmapRoundTrip.test.ts

src/parsers/colmapRoundTrip.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { CameraModelId, type Camera, type CameraId } from '../types/colmap';
3import { getCameraModelNumParams } from '../utils/cameraModelRegistry';
4import { buildCamera } from '../test/builders';

Callers

nothing calls this directly

Calls 7

parseCamerasTextFunction · 0.90
writeCamerasTextFunction · 0.90
parseCamerasBinaryFunction · 0.90
writeCamerasBinaryFunction · 0.90
buildCamerasFunction · 0.85
assertRoundTripFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected