Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNumberLatin1 (0.16 sec)

  1. src/unicode/graphic_test.go

    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsLower(i)
    		want := Is(Lower, i)
    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestNumberLatin1(t *testing.T) {
    	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)
    		}
    	}
    }
    
    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