Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Sep 5, 2024
1 parent ed973c9 commit 7d80edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/tests/winrt/reference_float/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit 7d80edc

Please sign in to comment.