Example #1
0
 public void ItCanPrintsEmpty()
 {
     Vec.Empty <object>().ToString()
     .Is("[]");
 }
Example #2
0
 public void ItCanPrintsNonEmpty()
 {
     Vec.Of(1, 2, 3).ToString()
     .Is("[1, 2, 3]");
 }
Example #3
0
 public void ItSupportsLexicographicalOrderByDefault()
 {
     (Vec.Of(1, 2, 3) < Vec.Of(1, 2, 4)).Is(true);
     (Vec.Of(1, 2, 4) < Vec.Of(1, 3)).Is(true);
 }