static void Main(string[] args) { Interaccion i = new Interaccion(); i.leerArchivo("C:\\Temp\\preguntas.csv"); i.asignarPreguntasRandom(5); i.mostrarRespuestas(14); i.mostrarRespuestas(16); i.mostrarRespuestas(19); }
public void PruebaMostrarRespuesta_RetornaExcepcion(int numeroPregunta) { Interaccion interaccion = new Interaccion(); Assert.Throws <ArgumentException>(() => interaccion.mostrarRespuestas(numeroPregunta)); }