Skip to content

Commit

Permalink
Add (invalid) test cases of proportions == 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 18, 2024
1 parent 89a054a commit 1241a8d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test-cases/invalid/bad_ancestry_proportions_11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
time_units: generations
demes:
- name: a
epochs:
- {start_size: 100, end_time: 50}
- name: b
epochs:
- {start_size: 100, end_time: 50}
- name: c
ancestors: [a, b]
proportions: [0.0, 1.0]
start_time: 100
epochs:
- {start_size: 100}
16 changes: 16 additions & 0 deletions test-cases/invalid/bad_pulse_proportion_09.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
time_units: generations
demes:
- name: A
epochs:
- start_size: 1000
- name: B
epochs:
- start_size: 1000
- name: C
epochs:
- start_size: 1000
pulses:
- sources: [A]
dest: C
proportions: [0.]
time: 10

0 comments on commit 1241a8d

Please sign in to comment.