Esempio n. 1
0
    public void FromNSNumber()
    {
        double number = 1.999;
        IntPtr handle = ObjC.ToNSNumber(number);
        var    actual = ObjC.FromNSNumber(handle);

        Assert.AreEqual(Math.Round(number, 3), Math.Round(actual, 3));
    }