// 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/PressureUnit.java
// public enum PressureUnit {
//     HECTOPASCALS("Hectopascals (hPa)"),
//     INCHES_OF_MERCURY("Inches of Mercury (inHg)"),
//     KILIOPASCALS("Kilopascals (kPa)"),
//     MILLIBARS("Millibars (mb)"),
//     MILLIMETRES_OF_MERCURY("Millimetres of Mercury (mmHg)");
// 
//     private String description;
// 
//     PressureUnit(String description) {
//         this.description = description;
//     }
// 
//     public String toString() {
//         return description;
//     }
// }


import com.waynedgrant.cirrus.BigDecimalEquals;
import com.waynedgrant.cirrus.units.PressureUnit;
import org.junit.Test;
import java.math.BigDecimal;
package com.waynedgrant.cirrus.measures;




public class TestPressure {
    private Pressure testee;

    @Test
    public void GIVEN_populated_with_hectopascals_WHEN_hectopascals_requested_THEN_returns_correct_value() {
        testee = new Pressure(new BigDecimal("1017.7"));
// 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/PressureUnit.java
// public enum PressureUnit {
//     HECTOPASCALS("Hectopascals (hPa)"),
//     INCHES_OF_MERCURY("Inches of Mercury (inHg)"),
//     KILIOPASCALS("Kilopascals (kPa)"),
//     MILLIBARS("Millibars (mb)"),
//     MILLIMETRES_OF_MERCURY("Millimetres of Mercury (mmHg)");
// 
//     private String description;
// 
//     PressureUnit(String description) {
//         this.description = description;
//     }
// 
//     public String toString() {
//         return description;
//     }
// }


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

package com.waynedgrant.cirrus.measures;




public class TestPressure {
    private Pressure testee;

    @Test
    public void GIVEN_populated_with_hectopascals_WHEN_hectopascals_requested_THEN_returns_correct_value() {
        testee = new Pressure(new BigDecimal("1017.7"));
        new BigDecimalEquals().assertEquals(new BigDecimal("1017.7"), testee.getValue(PressureUnit.HECTOPASCALS));