MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / structure_is_struct

Function structure_is_struct

tests/extraction_suite/lean.rs:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35#[test]
36fn structure_is_struct() {
37 let source = "structure Point where\n x : Nat\n y : Nat\n";
38 let result = extract(source);
39 let structs = names_of(&result, NodeKind::Struct);
40 assert_eq!(structs, vec!["Point".to_string()]);
41}
42
43#[test]
44fn axiom_is_const() {

Callers

nothing calls this directly

Calls 2

extractFunction · 0.70
names_ofFunction · 0.70

Tested by

no test coverage detected