public void SetAndChange(string name, int value) { var svc = new LocalStoredSVC(); svc.StartModule(); var newValue = value + 5; svc.Set(name, value); svc.Set(name, newValue); Assert.Equal(newValue, svc.Get <int>(name)); }
public void SetAndGetInt(string name, int value) { var svc = new LocalStoredSVC(); svc.StartModule(); svc.Set(name, value); Assert.Equal(value, svc.Get <int>(name)); }