blob: ac59c0e6f0710501ca30a1104155a4e04d26d722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
public class Test
{
public static int Main(String[] arguments)
{
bool testCaseSucceeded = false;
string[] theArray = { "Wrong =0", "Correct =1", "Wrong =2", "Wrong =3" };
for (int i = 0; i < 1; i++)
{
if (theArray[i * 3 + 1] != "-")
{
testCaseSucceeded = (theArray[(i * 3) + 1] == theArray[1]);
Console.WriteLine("First Result: " + theArray[(i * 3) + 1]);
int temp = (i * 3) + 1;
Console.WriteLine("Second Result: " + theArray[temp]);
}
}
if (testCaseSucceeded)
{
Console.WriteLine("PASSED");
return 100;
}
else
{
Console.WriteLine("FAILED");
return 666;
}
}
}
|