public void Works_same_as_normal_string_comparer_on_unicode_characters(string left, string right) { // This test confirms that GlobalizationMode.Invariant == false var expected = OrigComparer.Compare(left, right); Comparer.Should().ResultWithSignFor(left, right, expected); }
public void Works_same_as_normal_string_comparer_on_rU002Ds(string left, string right) { // Tests if the relations of ᵣ, ʀ and Ʀ are the same as OrigComparer. var expected = OrigComparer.Compare(left, right); var actual = Comparer.Compare(left, right); if (expected != actual) { Comparer.Should().ResultWithSignFor(left, right, expected); } }
public void All_charater_has_the_same_elation_to_rU002Ds(string right) { foreach (var left in allCh) { var expected = OrigComparer.Compare(left, right); var actual = Comparer.Compare(left, right); if (expected != actual) { Comparer.Should().ResultWithSignFor(left, right, expected); } } // Tests if the relations of ᵣ, ʀ and Ʀ are the same as OrigComparer. }
public void Between_the_cases(string left, string right) { var expected = OrigComparer.Compare(left, right); Comparer.Should().ResultWithSignFor(left, right, expected); }