public void TestAny_not_any_condition() { var employees = RepositoryFactory.GetEmployees(); Assert.True(WithoutLinq.CashAny(employees)); Assert.True(employees.CashAny()); }
public void TestAnyIsTrue() { var employees = RepositoryFactory.GetEmployees(); Assert.True(WithoutLinq.CashAny(employees, a => a.MonthSalary < 500)); Assert.True(employees.CashAny(a => a.MonthSalary < 500)); }