@@ -28,7 +28,7 @@ public void TestDatePickerFormat(string dateFormat)
2828 public void TestDatePickerDefaultValue ( )
2929 {
3030 DatePicker datePicker = new DatePicker ( ) ;
31-
31+
3232 // The default value should be Today's date due to the defaultValueCreator
3333 Assert . Equal ( DateTime . Today , datePicker . Date ) ;
3434 }
@@ -37,10 +37,10 @@ public void TestDatePickerDefaultValue()
3737 public void TestDatePickerMinValueHandling ( )
3838 {
3939 DatePicker datePicker = new DatePicker ( ) ;
40-
40+
4141 // Set date to MinValue explicitly - this should get coerced to MinimumDate
4242 datePicker . Date = DateTime . MinValue ;
43-
43+
4444 // The DatePicker should have MinimumDate as its value due to coercion
4545 Assert . Equal ( new DateTime ( 1900 , 1 , 1 ) , datePicker . Date ) ;
4646 }
@@ -49,13 +49,13 @@ public void TestDatePickerMinValueHandling()
4949 public void TestDatePickerWithCustomMinimumDate ( )
5050 {
5151 DatePicker datePicker = new DatePicker ( ) ;
52-
52+
5353 // Set a custom minimum date
5454 datePicker . MinimumDate = new DateTime ( 2020 , 1 , 1 ) ;
55-
55+
5656 // Set date to MinValue - this should get coerced to the new MinimumDate
5757 datePicker . Date = DateTime . MinValue ;
58-
58+
5959 // The DatePicker should have the custom MinimumDate as its value
6060 Assert . Equal ( new DateTime ( 2020 , 1 , 1 ) , datePicker . Date ) ;
6161 }
0 commit comments