()
| 13 | |
| 14 | #[test] |
| 15 | fn test_apply_substitution_direct() { |
| 16 | let subs = make_subs(&[("TValue", "Language"), ("TKey", "int")]); |
| 17 | |
| 18 | assert_eq!(apply_substitution("TValue", &subs), "Language"); |
| 19 | assert_eq!(apply_substitution("TKey", &subs), "int"); |
| 20 | assert_eq!(apply_substitution("string", &subs), "string"); |
| 21 | } |
| 22 | |
| 23 | #[test] |
| 24 | fn test_apply_substitution_nullable() { |
nothing calls this directly
no test coverage detected