static void Main(string[] args) { var interpretador = Interpretador.InterpretaArquivo(@"c:\arquivo.tdm"); foreach (CupomFiscal cupom in interpretador.CuponsFiscais) { MostrarCupom(cupom); MostrarItens(cupom); MostrarPagamentos(cupom); } MostrarRelacoesZ(interpretador); Console.ReadLine(); }
public void DeveDetalharCupons() { Interpretador interpretador = Interpretador.InterpretaArquivo(ARQUIVO_ENTRADA); Assert.AreEqual(1, interpretador.CuponsFiscais[0].Detalhes.Count); }