public void there_are_9_with_mvdata_emissao_april() { var expr = new BooExpression("c.mvdata_emissao.Month == 4"); file.Where(x => expr.AppliesTo(x.Record)).Count().Should().Be(9); }
public void there_are_21_with_sem_coobrigacao() { var expr = new BooExpression("c.mvcoobrigacao == 'SEM COOBRIGACAO'"); file.Where(x => expr.AppliesTo(x.Record)).Count().Should().Be(21); }
public void there_are_9_with_mvdata_emissao_2010_04_16() { var expr = new BooExpression("c.mvdata_emissao == DateTime(2010, 4, 16)"); file.Where(x => expr.AppliesTo(x.Record)).Count().Should().Be(9); }
public void there_are_27_with_dcif_starting_with_05() { var expr = new BooExpression("c.dcif.StartsWith('05')"); file.Where(x => expr.AppliesTo(x.Record)).Count().Should().Be(27); }