public void TestLeft() { var r1 = new Random(); var i1 = r1.Next(0, 50); var netString1 = Helper.RandomString(i1); var qString1 = new QStringRef(netString1); var subNet = netString1.Substring(0, i1 / 5); var subQ = qString1.Left(i1 / 5); Assert.AreEqual(subNet, subQ.ToString()); }
public void TestLeft() { var r1 = new Random(); var i1 = r1.Next(0, 50); var netString1 = Helper.RandomString(i1); var qString1 = new QStringRef(netString1); var subNet = netString1.Substring(0, i1 / 5); var subQ = qString1.Left(i1 / 5); Assert.AreEqual(subNet, subQ.ToString()); }