Skip to content

Commit 9796880

Browse files
David KarlašTherzok
authored andcommitted
[Debugger.UnitTests] Unit tests for bug 52333 (#1848)
1 parent 7429b7e commit 9796880

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MonoDevelop.Debugger.Tests/EvaluationTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,10 @@ public void Cast ()
10481048
if (soft != null && soft.ProtocolVersion < new Version (2, 31))
10491049
Assert.Ignore ("A newer version of the Mono runtime is required.");
10501050

1051+
val = Eval ("(int)19.7");
1052+
Assert.AreEqual ("19", val.Value);
1053+
Assert.AreEqual ("int", val.TypeName);
1054+
10511055
val = Eval ("(byte)n");
10521056
Assert.AreEqual ("32", val.Value);
10531057
Assert.AreEqual ("byte", val.TypeName);

0 commit comments

Comments
 (0)