| 6 | namespace Valdi { |
| 7 | |
| 8 | TEST(CharacterSet, supportsEmpty) { |
| 9 | auto characterSet = CharacterSet::make({}); |
| 10 | |
| 11 | ASSERT_FALSE(characterSet->contains(0)); |
| 12 | ASSERT_FALSE(characterSet->contains(1)); |
| 13 | ASSERT_FALSE(characterSet->contains(0xFFFFFF)); |
| 14 | } |
| 15 | |
| 16 | TEST(CharacterSet, supportsSingleRange) { |
| 17 | auto characterSet = CharacterSet::make({CharacterRange(40, 60)}); |
nothing calls this directly
no test coverage detected