qubit-value 0.12.1

Type-safe containers for single, multi-valued, and named runtime values
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// =============================================================================
//    Copyright (c) 2025 - 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================

//! Finite-float adapter behavior.

#[test]
fn test_float_wire_accepts_finite_value() {
    use qubit_value::Value;
    use qubit_value::ValueWireV1;

    assert!(serde_json::to_value(ValueWireV1::try_from(Value::Float64(1.25)).unwrap()).is_ok());
}