Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsPrintLatin1 (0.12 sec)

  1. src/unicode/graphic_test.go

    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsNumber(i)
    		want := Is(Number, i)
    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestIsPrintLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsPrint(i)
    		want := In(i, PrintRanges...)
    		if i == ' ' {
    			want = true
    		}
    		if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.6K bytes
    - Viewed (0)
Back to top