- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsSurrogate (0.12 sec)
-
src/unicode/utf16/utf16_test.go
{rune(0xd7ff), false}, // surr1-1 {rune(0xd800), true}, // surr1 {rune(0xdc00), true}, // surr2 {rune(0xe000), false}, // surr3 {rune(0xdfff), true}, // surr3-1 } func TestIsSurrogate(t *testing.T) { for i, tt := range surrogateTests { got := IsSurrogate(tt.r) if got != tt.want { t.Errorf("%d: IsSurrogate(%q) = %v; want %v", i, tt.r, got, tt.want) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0)