ultragraph 0.5.2

Hypergraph data structure.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT
// Copyright (c) "2023" . The DeepCausality Authors. All Rights Reserved.

use ultragraph::prelude::UltraGraphError;

#[test]
fn test_ultra_graph_error() {
    let x = 1;
    let result: Result<usize, UltraGraphError> =
        Err(UltraGraphError::new(format!("unexpected number {}", x)));
    assert!(result.is_err(),);
}