// Path: app/src/test/java/com/waynedgrant/cirrus/BigDecimalEquals.java
// public class BigDecimalEquals {
//     public void assertEquals(BigDecimal expected, BigDecimal actual) {
//         assertTrue(expected.compareTo(actual) == 0);
//     }
// }
// 
// Path: app/src/main/java/com/waynedgrant/cirrus/units/RainfallUnit.java
// public enum RainfallUnit {
//     INCHES("Inches (in)"),
//     MILLIMETRES("Millimetres (mm)");
// 
//     private String description;
// 
//     RainfallUnit(String description) {
//         this.description = description;
//     }
// 
//     public String toString() {
//         return description;
//     }
// }


import com.waynedgrant.cirrus.BigDecimalEquals;
import com.waynedgrant.cirrus.units.RainfallUnit;
import org.junit.Test;
import java.math.BigDecimal;

package com.waynedgrant.cirrus.measures;




public class TestRainfall {
    private Rainfall testee;

    @Test
    public void GIVEN_populated_with_millmetres_WHEN_millimetres_requested_THEN_returns_correct_value() {
        testee = new Rainfall(new BigDecimal("2.5"));

// Path: app/src/test/java/com/waynedgrant/cirrus/BigDecimalEquals.java
// public class BigDecimalEquals {
//     public void assertEquals(BigDecimal expected, BigDecimal actual) {
//         assertTrue(expected.compareTo(actual) == 0);
//     }
// }
// 
// Path: app/src/main/java/com/waynedgrant/cirrus/units/RainfallUnit.java
// public enum RainfallUnit {
//     INCHES("Inches (in)"),
//     MILLIMETRES("Millimetres (mm)");
// 
//     private String description;
// 
//     RainfallUnit(String description) {
//         this.description = description;
//     }
// 
//     public String toString() {
//         return description;
//     }
// }


// Path: app/src/test/java/com/waynedgrant/cirrus/measures/TestRainfall.java
import com.waynedgrant.cirrus.BigDecimalEquals;
import com.waynedgrant.cirrus.units.RainfallUnit;
import org.junit.Test;
import java.math.BigDecimal;

package com.waynedgrant.cirrus.measures;




public class TestRainfall {
    private Rainfall testee;

    @Test
    public void GIVEN_populated_with_millmetres_WHEN_millimetres_requested_THEN_returns_correct_value() {
        testee = new Rainfall(new BigDecimal("2.5"));

        new BigDecimalEquals().assertEquals(new BigDecimal("2.5"), testee.getValue(RainfallUnit.MILLIMETRES));
