[runtime] Remove all NACL support. It was unmaintained for a long time. (#4955)
[mono.git] / mono / tests / char-isnumber.cs
1 using System;
2
3 class T {
4         static int Main() {
5                 char[] chars = new char[] 
6                         {'0',  'F',  'f',  'x',   '1',  'n',   'a'};
7                 bool[] results = new bool[] 
8                         {true, false, false, false, true, false, false};
9
10                 for (int i = 0; i < chars.Length; ++i) {
11                         if (Char.IsNumber (chars [i]) != results [i]) {
12                                 Console.WriteLine ("Char '{0}' failed", chars [i]);
13                                 return 1;
14                         }
15                 }
16                 return 0;
17         }
18 }