1 // Compiler options: -r:gtest-optional-03-lib.dll
7 static int Test (int i
= 1, string s
= "", bool b
= false, ushort u
= 4)
12 public static int Main ()
17 if (B
.TestString () != "mono")
20 if (B
.TestString ("top") != "top")
23 if (B
.TestB () != null)
26 if (B
.Test
<ushort> () != 0)
29 if (B
.TestDecimal (2) != decimal.MinValue
)
32 if (B
.TestDecimal (2, 5) != 5)
42 Console
.WriteLine ("ok");