Skip to content

Commit

Permalink
Merge pull request CosmosOS#950 from CosmosOS/structs-tests
Browse files Browse the repository at this point in the history
Tests for structs
  • Loading branch information
jp2masa authored Apr 27, 2018
2 parents 455a3fe + 75e0c8b commit e8262d1
Show file tree
Hide file tree
Showing 3 changed files with 299 additions and 251 deletions.
4 changes: 2 additions & 2 deletions Tests/BoxingTests/Kernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void Run()
{
TestBoxingChar();
TestBoxingInt();
//TestBoxingColorToString();
TestBoxingColorToString();

TestController.Completed();
}
Expand Down Expand Up @@ -55,7 +55,7 @@ private void TestBoxingInt()
private void TestBoxingColorToString()
{
object xColor = Color.Blue;
Assert.IsTrue(xColor.ToString() == "Color[Blue]", "Color.ToString doesn't work on boxed Color!");
Assert.IsTrue(xColor.ToString() == "Color [Blue]", "Color.ToString doesn't work on boxed Color!");
}
}
}
Loading

0 comments on commit e8262d1

Please sign in to comment.