Skip to content

Commit

Permalink
why it only fails in github action ? #498
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Jul 11, 2024
1 parent a928402 commit ba2ec15
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
public class GompertzPopulation_t50_Test {

private static final double DELTA = 1e-6;
double NInfinity = 1000; // Example carrying capacity
double t50 = 10.0; // Example t50 value
double b = 0.1; // Example growth rate
GompertzPopulation_t50 gompertzPopulation_t50;

@BeforeEach
public void setUp() {
gompertzPopulation_t50 = new GompertzPopulation_t50(t50, b, NInfinity);
}
final double NInfinity = 1000; // Example carrying capacity
final double t50 = 10.0; // Example t50 value
final double b = 0.1; // Example growth rate

GompertzPopulation_t50 gompertzPopulation_t50 = new GompertzPopulation_t50(t50, b, NInfinity);

//TODO why it only fails in github action ?
// @BeforeEach
// public void setUp() {
// gompertzPopulation_t50 = new GompertzPopulation_t50(t50, b, NInfinity);
// }

@Test
public void testGetTheta() {
Expand Down

0 comments on commit ba2ec15

Please sign in to comment.