mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
test(raw): expect disclosed CFA fallback in untagged Hasselblad fixture
This commit is contained in:
1 parent
f669d7612b
commit
08837740f1
1 file changed
+2
-1
@@ -50,7 +50,8 @@ fn metadata() {
|
||||
assert!((neutral[0] - 0.375).abs() < 1e-9 && (neutral[2] - 0.617).abs() < 1e-9, "{neutral:?}");
|
||||
assert_eq!((sensor.make.as_deref(), sensor.model.as_deref()), (Some("Hasselblad"), Some("Hasselblad X2D II 100C")));
|
||||
assert_eq!(sensor.orientation, 1);
|
||||
assert!(sensor.warnings.is_empty(), "{:?}", sensor.warnings);
|
||||
// This fixture deliberately omits CFA tags; the RGGB fallback must remain visible to callers.
|
||||
assert_eq!(sensor.warnings, ["the raw colour filter phase was assumed"]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user