本文整理汇总了C#中Row.IsEqualTo方法的典型用法代码示例。如果您正苦于以下问题:C# Row.IsEqualTo方法的具体用法?C# Row.IsEqualTo怎么用?C# Row.IsEqualTo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Row
的用法示例。
在下文中一共展示了Row.IsEqualTo方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Given_capitals_in_name_Then_same_to_name_with_other_capitals
public void Given_capitals_in_name_Then_same_to_name_with_other_capitals()
{
var compareColumns = new List<string>
{
"Name"
};
var row = new Row
{
new Column("Name", "HélèNE")
};
var sameRow = new Row
{
new Column("Name", "hELEne")
};
row.IsEqualTo(compareColumns, sameRow, compareColumns).Should().BeTrue();
}
示例2: Given_accents_in_name_Then_same_to_name_without_accents
public void Given_accents_in_name_Then_same_to_name_without_accents()
{
var compareColumns = new List<string>
{
"Name"
};
var row = new Row
{
new Column("Name", "Hélène")
};
var sameRow = new Row
{
new Column("Name", "Helene")
};
row.IsEqualTo(compareColumns, sameRow, compareColumns).Should().BeTrue();
}
示例3: Given_quote_in_name_Then_same_to_name_without_quote_but_with_space
public void Given_quote_in_name_Then_same_to_name_without_quote_but_with_space()
{
var compareColumns = new List<string>
{
"Name"
};
var row = new Row
{
new Column("Name", "D'Test")
};
var sameRow = new Row
{
new Column("Name", "D Test")
};
row.IsEqualTo(compareColumns, sameRow, compareColumns).Should().BeTrue();
}