public void ShouldThrowInvalidAttributeExceptionWhenValueDoesNotParseToInteger()
 {
     var categoryFunction = new IntegerCategoryFunction("someInt", 100);
     categoryFunction.OwningPartition("NOT_AN_INTEGER");
 }
예제 #2
0
        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"));
 }
예제 #4
0
        public void OwningPartitionNameShouldEqualBaseOfPartitionRange()
        {
            var categoryFunction = new IntegerCategoryFunction("someInt", 100);

            Assert.AreEqual("200", categoryFunction.OwningPartition("234"));
        }