66
1
using System;
2
using AssertLibrary;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
Console.WriteLine("Hello World, Let's start testing!");
9
10
int number = 300000000;
11
try
12
{
13
short s = (short)number;
14
Assert.IsFalse(true);
15
}
16
catch
17
{
18
Assert.IsTrue(true);
19
}
20
decimal d = (decimal)number;
21
IDisposable myObj = new MyDisposable();
22
AssertNotNull(myObj);
23
AssertNull(myObj as NotMyDisposable);
24
AssertThrows(() => { var dis = (NotMyDisposable)myObj; });
Cached Result
foo
2.1-hello
2.2-world
2.3-people
2.10-everywhere
2.1-hello
2.2-world
2.3-people
2.10-everywhere