// Path: app/src/main/java/com/waynedgrant/cirrus/measures/Trend.java
// public enum Trend {
//     RISING,
//     STEADY,
//     FALLING
// }


import com.waynedgrant.cirrus.measures.Trend;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
package com.waynedgrant.cirrus.presentation.formatters;




public class TestTrendFormatter {
    private TrendFormatter testee;

    @Test
    public void GIVEN_null_trend_WHEN_formatting_requested_THEN_returns_blank_character() {
        testee = new TrendFormatter(null);
        assertEquals("-", testee.format());
    }

    @Test
    public void GIVEN_rising_trend_WHEN_formatting_requested_THEN_returns_rising_character() {
// Path: app/src/main/java/com/waynedgrant/cirrus/measures/Trend.java
// public enum Trend {
//     RISING,
//     STEADY,
//     FALLING
// }


// Path: app/src/test/java/com/waynedgrant/cirrus/presentation/formatters/TestTrendFormatter.java
import com.waynedgrant.cirrus.measures.Trend;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;

package com.waynedgrant.cirrus.presentation.formatters;




public class TestTrendFormatter {
    private TrendFormatter testee;

    @Test
    public void GIVEN_null_trend_WHEN_formatting_requested_THEN_returns_blank_character() {
        testee = new TrendFormatter(null);
        assertEquals("-", testee.format());
    }

    @Test
    public void GIVEN_rising_trend_WHEN_formatting_requested_THEN_returns_rising_character() {
        testee = new TrendFormatter(Trend.RISING);