File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function verifyControlValues(testCase,value)
3030 % Verifies the control fields have the specified value
3131
3232 drawnow
33- testCase .verifyEqual(testCase .Widget .Spinner .Value , value );
33+ testCase .verifyEqual(testCase .Widget .Spinner .Value , value , ' AbsTol ' , 1e-5 );
3434 testCase .verifyEqual(testCase .Widget .Slider .Value , value , ' AbsTol' , 1e-5 );
3535
3636 end % function
@@ -197,7 +197,7 @@ function testSlider(testCase)
197197 testCase .verifyControlValues(expValue );
198198 testCase .verifyEqual(testCase .Widget .Value , expValue );
199199
200- % Drag the slider to a fraction (with rounding on)
200+ % Drag the slider to a fraction (with rounding turned on)
201201 newValue = 13.65 ;
202202 expValue = 14 ;
203203 testCase .drag(sliderControl ,32 ,newValue );
@@ -207,7 +207,7 @@ function testSlider(testCase)
207207 % Configure the control
208208 testCase .verifySetProperty(" RoundFractionalValues" , " off" );
209209
210- % Drag the slider to a fraction (with rounding off)
210+ % Drag the slider to a fraction (with rounding turned off)
211211 newValue = 91.24 ;
212212 expValue = 91.24 ;
213213 testCase .drag(sliderControl ,14 ,newValue );
You can’t perform that action at this time.
0 commit comments