File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/MaterialDesignThemes.UITests/WPF/UpDownControls Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ namespace MaterialDesignThemes.UITests.WPF.UpDownControls;
77
88public class DecimalUpDownTests : TestBase
99{
10- [ Theory ]
11- [ InlineData ( "en-US" ) ]
12- [ InlineData ( "da-DK" ) ]
13- [ InlineData ( "fa-IR" ) ]
14- [ InlineData ( "ja-JP" ) ]
15- [ InlineData ( "zh-CN" ) ]
10+ [ Test ]
11+ [ Arguments ( "en-US" ) ]
12+ [ Arguments ( "da-DK" ) ]
13+ [ Arguments ( "fa-IR" ) ]
14+ [ Arguments ( "ja-JP" ) ]
15+ [ Arguments ( "zh-CN" ) ]
1616 public async Task NumericButtons_IncreaseAndDecreaseValue ( string culture )
1717 {
1818 await using var recorder = new TestRecorder ( App ) ;
@@ -32,7 +32,7 @@ public async Task NumericButtons_IncreaseAndDecreaseValue(string culture)
3232 await plusButton . LeftClick ( ) ;
3333 await Wait . For ( async ( ) =>
3434 {
35- Assert . Equal ( Convert . ToString ( 1.1 , CultureInfo . GetCultureInfo ( culture ) ) , await textBox . GetText ( ) ) ;
35+ await Assert . That ( await textBox . GetText ( ) ) . IsEqualTo ( Convert . ToString ( 1.1 , CultureInfo . GetCultureInfo ( culture ) ) ) ;
3636 await Assert . That ( await textBox . GetText ( ) ) . IsEqualTo ( "2" ) ;
3737 await Assert . That ( await numericUpDown . GetValue ( ) ) . IsEqualTo ( 2 ) ;
3838 } ) ;
You can’t perform that action at this time.
0 commit comments