backhopper-xref-graph 0.37.0

Whole-program call-graph primitives for backhopper-xref: vertices, relations, set algebra, transitive closure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2026 Michael S. Klishin and Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
// See LICENSE-APACHE and LICENSE-MIT for details.

use backhopper_xref_graph::{Building, Built, Functions, Mode, Modules, Phase};

#[test]
fn mode_names_are_stable_strings() {
    assert_eq!(Functions::NAME, "functions");
    assert_eq!(Modules::NAME, "modules");
}

#[test]
fn phase_names_are_stable_strings() {
    assert_eq!(Building::NAME, "building");
    assert_eq!(Built::NAME, "built");
}