@@ -15,7 +15,7 @@ public class ObservableGroupTests
1515 [ TestMethod ]
1616 public void Ctor_ShouldHaveExpectedState ( )
1717 {
18- ObservableGroup < string , int > ? group = new ( "key" ) ;
18+ ObservableGroup < string , int > group = new ( "key" ) ;
1919
2020 Assert . AreEqual ( group . Key , "key" ) ;
2121 Assert . AreEqual ( group . Count , 0 ) ;
@@ -24,8 +24,8 @@ public void Ctor_ShouldHaveExpectedState()
2424 [ TestMethod ]
2525 public void Ctor_WithGrouping_ShouldHaveExpectedState ( )
2626 {
27- IntGroup ? source = new ( "key" , new [ ] { 1 , 2 , 3 } ) ;
28- ObservableGroup < string , int > ? group = new ( source ) ;
27+ IntGroup source = new ( "key" , new [ ] { 1 , 2 , 3 } ) ;
28+ ObservableGroup < string , int > group = new ( source ) ;
2929
3030 Assert . AreEqual ( group . Key , "key" ) ;
3131 CollectionAssert . AreEqual ( group , new [ ] { 1 , 2 , 3 } ) ;
@@ -34,8 +34,8 @@ public void Ctor_WithGrouping_ShouldHaveExpectedState()
3434 [ TestMethod ]
3535 public void Ctor_WithCollection_ShouldHaveExpectedState ( )
3636 {
37- int [ ] ? source = new [ ] { 1 , 2 , 3 } ;
38- ObservableGroup < string , int > ? group = new ( "key" , source ) ;
37+ int [ ] source = new [ ] { 1 , 2 , 3 } ;
38+ ObservableGroup < string , int > group = new ( "key" , source ) ;
3939
4040 Assert . AreEqual ( group . Key , "key" ) ;
4141 CollectionAssert . AreEqual ( group , new [ ] { 1 , 2 , 3 } ) ;
@@ -45,8 +45,8 @@ public void Ctor_WithCollection_ShouldHaveExpectedState()
4545 public void Add_ShouldRaiseEvent ( )
4646 {
4747 bool collectionChangedEventRaised = false ;
48- int [ ] ? source = new [ ] { 1 , 2 , 3 } ;
49- ObservableGroup < string , int > ? group = new ( "key" , source ) ;
48+ int [ ] source = new [ ] { 1 , 2 , 3 } ;
49+ ObservableGroup < string , int > group = new ( "key" , source ) ;
5050 ( ( INotifyCollectionChanged ) group ) . CollectionChanged += ( s , e ) => collectionChangedEventRaised = true ;
5151
5252 group . Add ( 4 ) ;
@@ -60,8 +60,8 @@ public void Add_ShouldRaiseEvent()
6060 public void Update_ShouldRaiseEvent ( )
6161 {
6262 bool collectionChangedEventRaised = false ;
63- int [ ] ? source = new [ ] { 1 , 2 , 3 } ;
64- ObservableGroup < string , int > ? group = new ( "key" , source ) ;
63+ int [ ] source = new [ ] { 1 , 2 , 3 } ;
64+ ObservableGroup < string , int > group = new ( "key" , source ) ;
6565 ( ( INotifyCollectionChanged ) group ) . CollectionChanged += ( s , e ) => collectionChangedEventRaised = true ;
6666
6767 group [ 1 ] = 4 ;
@@ -75,7 +75,7 @@ public void Update_ShouldRaiseEvent()
7575 public void Remove_ShouldRaiseEvent ( )
7676 {
7777 bool collectionChangedEventRaised = false ;
78- int [ ] ? source = new [ ] { 1 , 2 , 3 } ;
78+ int [ ] source = new [ ] { 1 , 2 , 3 } ;
7979 ObservableGroup < string , int > ? group = new ( "key" , source ) ;
8080 ( ( INotifyCollectionChanged ) group ) . CollectionChanged += ( s , e ) => collectionChangedEventRaised = true ;
8181
@@ -90,7 +90,7 @@ public void Remove_ShouldRaiseEvent()
9090 public void Clear_ShouldRaiseEvent ( )
9191 {
9292 bool collectionChangedEventRaised = false ;
93- int [ ] ? source = new [ ] { 1 , 2 , 3 } ;
93+ int [ ] source = new [ ] { 1 , 2 , 3 } ;
9494 ObservableGroup < string , int > ? group = new ( "key" , source ) ;
9595 ( ( INotifyCollectionChanged ) group ) . CollectionChanged += ( s , e ) => collectionChangedEventRaised = true ;
9696
@@ -101,13 +101,13 @@ public void Clear_ShouldRaiseEvent()
101101 Assert . IsTrue ( collectionChangedEventRaised ) ;
102102 }
103103
104- [ DataTestMethod ]
104+ [ TestMethod ]
105105 [ DataRow ( 0 ) ]
106106 [ DataRow ( 3 ) ]
107107 public void IReadOnlyObservableGroup_ShouldReturnExpectedValues ( int count )
108108 {
109- ObservableGroup < string , int > ? group = new ( "key" , Enumerable . Range ( 0 , count ) ) ;
110- IReadOnlyObservableGroup ? iReadOnlyObservableGroup = ( IReadOnlyObservableGroup ) group ;
109+ ObservableGroup < string , int > group = new ( "key" , Enumerable . Range ( 0 , count ) ) ;
110+ IReadOnlyObservableGroup iReadOnlyObservableGroup = group ;
111111
112112 Assert . AreEqual ( iReadOnlyObservableGroup . Key , "key" ) ;
113113 Assert . AreEqual ( iReadOnlyObservableGroup . Count , count ) ;
0 commit comments