cqlib-core 0.1.0-beta.7

The high-performance core foundation for the CQLib quantum computing ecosystem.
Documentation
// This code is part of Cqlib.
//
// (C) Copyright China Telecom Quantum Group 2026
//
// This code is licensed under the Apache License, Version 2.0. You may
// obtain a copy of this license in the LICENSE.txt file in the root directory
// of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
//
// Any modifications or derivative works of this code must retain this
// copyright notice, and modified files need to carry a notice indicating
// that they have been altered from the originals.

//! Tests for state visualization options.

use super::*;

#[test]
fn default_state_options_match_public_plot_defaults() {
    let options = StatePlotOptions::default();
    assert_eq!(options.alpha, 1.0);
    assert!(!options.reverse_bits);
    assert!(options.color.is_empty());
    assert!(options.figsize.is_none());
}