// Path: app/src/main/java/com/waynedgrant/cirrus/units/CardinalDirection.java
// public enum CardinalDirection {
//     N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW
// }


import com.waynedgrant.cirrus.units.CardinalDirection;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
package com.waynedgrant.cirrus.measures;




public class TestWindDirection {
    private WindDirection testee;

    @Test
    public void GIVEN_populated_with_compass_degrees_WHEN_degrees_requested_THEN_returns_correct_value() {
        testee = new WindDirection(180);
        assertEquals((Integer) 180, testee.getCompassDegrees());
    }

    @Test
    public void GIVEN_populated_with_compass_degrees_WHEN_cardinal_direction_requested_THEN_returns_correct_value() {
        testee = new WindDirection(0);
// Path: app/src/main/java/com/waynedgrant/cirrus/units/CardinalDirection.java
// public enum CardinalDirection {
//     N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW
// }


// Path: app/src/test/java/com/waynedgrant/cirrus/measures/TestWindDirection.java
import com.waynedgrant.cirrus.units.CardinalDirection;
import org.junit.Test;
import static org.junit.Assert.assertEquals;

package com.waynedgrant.cirrus.measures;




public class TestWindDirection {
    private WindDirection testee;

    @Test
    public void GIVEN_populated_with_compass_degrees_WHEN_degrees_requested_THEN_returns_correct_value() {
        testee = new WindDirection(180);
        assertEquals((Integer) 180, testee.getCompassDegrees());
    }

    @Test
    public void GIVEN_populated_with_compass_degrees_WHEN_cardinal_direction_requested_THEN_returns_correct_value() {
        testee = new WindDirection(0);
        assertEquals(CardinalDirection.N, testee.getCardinalDirection());