public unsafe void TestToDouble() { var d = 566.15; var q = new QStringRef("566.15"); var w = q.ToDouble(); Assert.AreEqual(d, w); }
public void TestToDouble() { var d = 566.15; double w; using (var q = new QStringRef("566.15")) { w = q.ToDouble(); } Assert.AreEqual(d, w); }
public unsafe void TestToDouble() { var d = 566.15; var q = new QStringRef("566.15"); var w = q.ToDouble(); Assert.AreEqual(d, w); }