Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / test-arr.cs
1 using System;
2
3 class T {
4
5         private static int[,,] bitrateTable = new int[,,]
6                         {  //table
7                         {  //V1
8                         {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1},   //LI
9                         {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1},   //LII
10                         {0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1}  //LIII
11                         },
12                         {  //V2
13                         {0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, -1},   //LI
14                         {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1},   //LII
15                         {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1}  //LIII
16                         }
17                         };
18
19         private static int[,] samplingRateTable =new int[,]
20                         {  //table
21                         {44100, 48000, 32000, 0},   //V1
22                         {22050, 24000, 16000, 0},   //V2
23                         {11025, 12000, 8000, 0}  //V3
24                         };
25
26         static int Main () {
27                 if (bitrateTable [0, 1, 2] == 48 && samplingRateTable [1, 2] == 16000)
28                         return 0;
29                 return 1;
30         }
31 }
32