MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_clear

Function test_clear

core/src/skills/registry.rs:481–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479
480 #[test]
481 fn test_clear() {
482 let registry = SkillRegistry::with_builtins();
483 assert_eq!(registry.len(), 4);
484
485 registry.clear();
486 assert_eq!(registry.len(), 0);
487 assert!(registry.is_empty());
488 }
489
490 #[test]
491 fn test_by_kind() {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected