using System; using System.Linq; using System.Threading.Tasks; using Cosmos.TestRunner; namespace Cosmos.Compiler.Tests.Bcl.System { public static class StringTest { public static void Execute() { Assert.IsTrue(("a" + "b") == "ab", "concatting 2 string using + doesn't work"); Assert.IsTrue(("a" + 'b') == "ab", "concatting 1 string and 1 character doesn't work"); char x = 'a'; string y = "a"; Assert.IsTrue(x.ToString() == y, "String == operator "); } } }