Skip to content

Commit

Permalink
Final
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago-GomezDeSalazar authored Nov 22, 2024
1 parent a2a2ee0 commit c568102
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions testExample.wtest
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
import parcial.*

describe "test de parcial"{
test "Grupo de personas vive un evento"{
const alegria1 = new Alegria(cantidadEventos = 2,intensidad = 120)
const ansiedad2 = new Ansiedad(cantidadEventos = 3, intensidad = 150, nivelDeAnsiedad = 80)
const desagrado1 = new Desagrado(cantidadEventos = 1, intensidad = 100)
const temor2 = new Temor (cantidadEventos = 6, intensidad = 350)

const persona1 = new Persona(edad = 18,emociones = [alegria1,desagrado1])
const persona2 = new Persona(edad = 17, emociones = [ansiedad2,temor2])

const grupo = new GrupoPersonas(personas = [persona1,persona2])

const evento = new Evento(impacto = 50, descripcion = "melancolia")

grupo.vivirTodosUnEvento(evento)
assert.That()

// NO LLEGUÉ A TERMINAR
}
}


0 comments on commit c568102

Please sign in to comment.