public void HasFeatureTest() { Expert p = new Expert("1,1,0,1"); Assert.IsTrue(p.HasFeature(1)); Assert.IsFalse(p.HasFeature(2)); p = new Expert("0,1,0,1"); Assert.IsFalse(p.HasFeature(0)); Assert.IsTrue(p.HasFeature(3)); }
public void HasFeatureTestEmptyNotCrashes() { Expert p = new Expert("0"); Assert.IsFalse(p.HasFeature(99)); }