()
| 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() { |