예제 #1
0
 public void ErrorTest()
 {
     Assert.Throws <ArgumentNullException>(() => StringEx.Chunks(null, 3).ToList());
     Assert.Throws <ArgumentOutOfRangeException>(() => "test".Chunks(-1).ToList());
 }