From 7d80edc3a82c4e4b9754f6deb22857c4100f19f3 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 5 Sep 2024 14:25:21 -0500 Subject: [PATCH] test --- crates/tests/winrt/reference_float/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tests/winrt/reference_float/src/lib.rs b/crates/tests/winrt/reference_float/src/lib.rs index 2840f056d5..8371b8a472 100644 --- a/crates/tests/winrt/reference_float/src/lib.rs +++ b/crates/tests/winrt/reference_float/src/lib.rs @@ -6,6 +6,7 @@ use windows::{core::*, Foundation::*}; fn test() -> Result<()> { let mut container = RefWithFloat::default(); container.Value = Some(PropertyValue::CreateSingle(1.23)?.cast()?); + assert_eq!(container.Value.unwrap().Value()?, 1.23); Ok(()) }