init: archlens — architecture diagram generator
Some checks failed
CI / Check / Test (push) Failing after 1m24s

Hex arch + DDD, tree-sitter parsing, Mermaid/ASCII output.
Supports Rust + Python. 92 tests. CI, diff, --check for staleness detection.
This commit is contained in:
2026-06-16 16:13:04 +02:00
commit 35f27d00b0
106 changed files with 6744 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
use archlens_domain::ModuleName;
#[test]
fn valid_module_name_is_created() {
let name = ModuleName::new("Orders").unwrap();
assert_eq!(name.as_str(), "Orders");
}
#[test]
fn empty_module_name_is_rejected() {
let result = ModuleName::new("");
assert!(result.is_err());
}
#[test]
fn module_names_are_comparable() {
let a = ModuleName::new("Orders").unwrap();
let b = ModuleName::new("Orders").unwrap();
let c = ModuleName::new("Billing").unwrap();
assert_eq!(a, b);
assert_ne!(a, c);
}