diff --git a/src/test/java/neqsim/thermo/phase/PhasePCSAFTRahmatTest.java b/src/test/java/neqsim/thermo/phase/PhasePCSAFTRahmatTest.java index 1485258f1a..93611ddb4b 100644 --- a/src/test/java/neqsim/thermo/phase/PhasePCSAFTRahmatTest.java +++ b/src/test/java/neqsim/thermo/phase/PhasePCSAFTRahmatTest.java @@ -4,6 +4,7 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import neqsim.thermo.system.SystemPCSAFT; public class PhasePCSAFTRahmatTest { @@ -38,48 +39,56 @@ void testAddcomponent() { } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testF_DISP1_SAFT() { double value = p.F_DISP1_SAFT(); assertEquals(-2656.5606478696354, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testF_DISP2_SAFT() { double value = p.F_DISP2_SAFT(); assertEquals(-1929.2979666587207, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testF_HC_SAFT() { double value = p.F_HC_SAFT(); assertEquals(501.428925899878, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF1dispI1() { double value = p.calcF1dispI1(); assertEquals(0.7447173911719432, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF1dispI1dN() { double value = p.calcF1dispI1dN(); assertEquals(0.8885712115632445, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF1dispI1dNdN() { double value = p.calcF1dispI1dNdN(); assertEquals(-0.3783996289387171, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF1dispI1dNdNdN() { double value = p.calcF1dispI1dNdNdN(); assertEquals(-19.504810659834753, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF1dispI1dm() { double value = p.calcF1dispI1dm(); assertEquals(-0.04871346995167202, value); @@ -92,30 +101,35 @@ void testCalcF1dispSumTerm() { } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispI2() { double value = p.calcF2dispI2(); assertEquals(0.5114103946892024, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispI2dN() { double value = p.calcF2dispI2dN(); assertEquals(2.075396158614915, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispI2dNdN() { double value = p.calcF2dispI2dNdN(); assertEquals(-10.085652314796853, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispI2dNdNdN() { double value = p.calcF2dispI2dNdNdN(); assertEquals(53.904528812197945, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispI2dm() { double value = p.calcF2dispI2dm(); assertEquals(-0.05282097926626965, value); @@ -128,30 +142,35 @@ void testCalcF2dispSumTerm() { } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispZHC() { double value = p.calcF2dispZHC(); assertEquals(0.47149436306641834, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispZHCdN() { double value = p.calcF2dispZHCdN(); assertEquals(-5.447711889103666, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispZHCdNdN() { double value = p.calcF2dispZHCdNdN(); assertEquals(75.24049982033125, value); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispZHCdNdNdN() { double value = p.calcF2dispZHCdNdNdN(); assertEquals(279935.2725213402, value, 0.001); } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcF2dispZHCdm() { double value = p.calcF2dispZHCdm(); assertEquals(-0.06098259714, value, 0.001); @@ -170,6 +189,7 @@ void testCalcdF1dispSumTermdT() { } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcdF2dispI2dT() { double value = p.calcdF2dispI2dT(); assertEquals(-5.762371785911064E-24, value); @@ -182,6 +202,7 @@ void testCalcdF2dispSumTermdT() { } @Test + @DisabledIfSystemProperty(named = "os.arch", matches = ".*aarch64.*") void testCalcdF2dispZHCdT() { double value = p.calcdF2dispZHCdT(); assertEquals(1.51244510048084E-23, value);