Esempio n. 1
0
    public void Can_set_and_retrieve_int_by_key()
    {
        var record   = new CKRecord("record_type");
        var intKey   = "int_key";
        var intValue = 42;

        record.SetInt(intValue, intKey);

        Assert.AreEqual(record.IntForKey(intKey), intValue);
    }