Example #1
0
        public void TestRemoveAdjustment([Values] AdjustableProperty type)
        {
            var adjustments = new AudioAdjustments();

            Assert.IsTrue(adjustments.GetAggregate(type).IsDefault);

            var adjustment = new BindableDouble(0.5);

            adjustments.AddAdjustment(type, adjustment);
            adjustments.RemoveAdjustment(type, adjustment);

            Assert.IsTrue(adjustments.GetAggregate(type).IsDefault);
        }
Example #2
0
 public void RemoveAdjustment(AdjustableProperty type, IBindable <double> adjustBindable)
 => adjustments.RemoveAdjustment(type, adjustBindable);