public async Task AtomicCountersWithoutPreInitializationTest() { var obj = new APObject("object"); await obj.SaveAsync(); await obj.IncrementAsync("intfield", 10); await obj.DecrementAsync("intfield", 5); Assert.AreEqual(5, obj.Get <int>("intfield")); }
public async Task AtomicCountersWithoutPreInitializationTest() { var obj = new APObject("object"); await obj.SaveAsync(); await obj.IncrementAsync("intfield", 10); await obj.DecrementAsync("intfield", 5); Assert.AreEqual(5, obj.Get<int>("intfield")); }