public void Compare() { GenericComparer<string> Comparer = new GenericComparer<string>(); Assert.Equal(0, Comparer.Compare("A", "A")); Assert.Equal(-1, Comparer.Compare("A", "B")); Assert.Equal(1, Comparer.Compare("B", "A")); }
public void Compare() { GenericComparer <string> Comparer = new GenericComparer <string>(); Assert.Equal(0, Comparer.Compare("A", "A")); Assert.Equal(-1, Comparer.Compare("A", "B")); Assert.Equal(1, Comparer.Compare("B", "A")); }