package tudelft.mentalhealth.perfectfit; import static org.junit.Assert.assertEquals; import java.io.IOException; import org.junit.Test; public class CharacteristicsTest { @Test public void testMinNormalization() throws IOException { Characteristics minchar = new Characteristics(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); Characteristics min = Characteristics.normalize(0, 000, 0, 0, 0, 0, 00, 00, 00, 00); assertEquals(minchar, min); } // FIXME age max 52 is assumed from the max values from Nele. @Test public void testMaxNormalization() throws IOException { Characteristics maxchar = new Characteristics(1, 1, 1, 1, 1, 1, 1, 1, 1, 1); Characteristics max = Characteristics.normalize(2, 100, 5, 7, 5, 7, 24, 52, 13, 11); assertEquals(maxchar, max); } }