- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRuntimeConversion (0.2 sec)
-
src/unicode/utf8/utf8_test.go
// Check that a range loop, len([]rune(string)) optimization and // []rune conversions visit the same runes. // Not really a test of this package, but the assumption is used here and // it's good to verify. func TestRuntimeConversion(t *testing.T) { for _, ts := range testStrings { count := RuneCountInString(ts) if n := runtimeRuneCount(ts); n != count {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 06:17:15 UTC 2022 - 16.2K bytes - Viewed (0)