Bump corefx
[mono-project.git] / mono / tests / test-arr.cs
blob60123a21b800af9007db71d7fd59d7a44c4fab61
1 using System;
3 class T {
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
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
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
26 static int Main () {
27 if (bitrateTable [0, 1, 2] == 48 && samplingRateTable [1, 2] == 16000)
28 return 0;
29 return 1;