public void Has() { const Flag keys = Flag.Active | Flag.HasCache; Assert.IsTrue(keys.Has(Flag.Active)); Assert.AreEqual(Flag.Active | Flag.HasCache, keys); }
public void HasNot() { const Flag keys = Flag.Active | Flag.HasCache; Assert.IsFalse(keys.Has(Flag.NextDirectEvaluate)); Assert.AreEqual(Flag.Active | Flag.HasCache, keys); }