public void IsNotSatisfiedByContext() { IsFact fact = new IsFact("Temperature", 38); Context context = new Context(); Assert.IsFalse(fact.IsSatisfiedByContext(context)); }
public void IsSatisfiedByContext() { IsFact fact = new IsFact("Temperature", 38); Context context = new Context(); context.SetValue("Temperature", 38); Assert.IsTrue(fact.IsSatisfiedByContext(context)); }