コード例 #1
0
 public void Input_12_Should_Be_2()
 {
     CollectionAssert.AreEqual(new List <int> {
         2
     }, Remover.RemoveSmallest(new List <int> {
         1, 2
     }));
 }
コード例 #2
0
 public void Input_22121_Should_Be_2221()
 {
     CollectionAssert.AreEqual(new List <int> {
         2, 2, 2, 1
     }, Remover.RemoveSmallest(new List <int> {
         2, 2, 1, 2, 1
     }));
 }
コード例 #3
0
 public void Input_1_Should_Be_NothingArray()
 {
     CollectionAssert.AreEqual(new List <int>(), Remover.RemoveSmallest(new List <int> {
         1
     }));
 }