From 45329da8dd5001dc286b9b7b5e0692f6c8f89ad0 Mon Sep 17 00:00:00 2001 From: Julien Baeriswyl Date: Thu, 9 Mar 2017 15:35:59 +0100 Subject: [PATCH] Fixes (not my spec) #397 --- .../src/test/java/ch/heigvd/res/lab00/CelloTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Lab00App-build/Lab00App-tests/src/test/java/ch/heigvd/res/lab00/CelloTest.java b/Lab00App-build/Lab00App-tests/src/test/java/ch/heigvd/res/lab00/CelloTest.java index 4993723d..615606ca 100644 --- a/Lab00App-build/Lab00App-tests/src/test/java/ch/heigvd/res/lab00/CelloTest.java +++ b/Lab00App-build/Lab00App-tests/src/test/java/ch/heigvd/res/lab00/CelloTest.java @@ -1,7 +1,7 @@ - package ch.heigvd.res.lab00; import org.junit.Assert; +import org.junit.Test; /** * @@ -9,8 +9,9 @@ */ public class CelloTest { - public void aCelloShouldMakeBoumBoum() { - IInstrument cello = new CelloTest(); + @Test + public void aCelloShouldMakeBoumBoum() { + IInstrument cello = new Cello(); String sound = cello.play(); Assert.assertEquals("boum boum", sound); }