diff --git a/RSColorPickerTests/RSColorPickerStateTests.m b/RSColorPickerTests/RSColorPickerStateTests.m index e1724ae..7f14dd1 100644 --- a/RSColorPickerTests/RSColorPickerStateTests.m +++ b/RSColorPickerTests/RSColorPickerStateTests.m @@ -81,6 +81,12 @@ - (void)testColor_initWithScaledRelativePoint { [self assertColor:expectedColor equalsColor:state.color]; } +- (void)testColor_stateForPointSizePadding { + RSColorPickerState *state = [RSColorPickerState stateForPoint:CGPointMake(100, 100) size:200 padding:0]; + UIColor *expectedColor = [UIColor whiteColor]; + [self assertColor:expectedColor equalsColor:state.color]; +} + - (void)testSelectionLocationWithSizePadding {