public void ShouldThrowInvalidAttributeExceptionWhenValueDoesNotParseToInteger() { var categoryFunction = new IntegerCategoryFunction("someInt", 100); categoryFunction.OwningPartition("NOT_AN_INTEGER"); }
public void OwningPartitionNameShouldEqualBaseOfPartitionRange() { var categoryFunction = new IntegerCategoryFunction("someInt", 100); Assert.AreEqual("200", categoryFunction.OwningPartition("234")); }