Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Dec 4, 2024
1 parent 760810c commit 76ea977
Show file tree
Hide file tree
Showing 6 changed files with 1,132 additions and 34 deletions.
124 changes: 124 additions & 0 deletions tests/testthat/_snaps/layout_quad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# add `align` object works well

Cannot add `align_dendro()` to `quad_free()`
i `quad_free()` cannot align observations in vertical direction

---

Cannot add `ggalign()` to `quad_free()`
i `quad_free()` cannot align observations in vertical direction

---

Cannot add `align_kmeans(3L)` to `quad_free()`
i `quad_free()` cannot align observations in horizontal direction

# add `stack_layout()` builds well

Cannot add `stack_freev()` to `quad_free()`
i no active annotation stack
i try to activate an annotation stack with `anno_*()`

---

Cannot add `stack_freev()` to `quad_free()`
i top annotation stack already exists

---

Cannot add `(stack_freev() + quad_free(mpg) + quad_free(mpg))` to `quad_free()`
i annotation stack cannot contain nested layout

---

Cannot add `stack_freeh()` to `quad_free()`
i only vertical stack is allowed in top annotation

---

Cannot add `stack_alignv()` to a `quad_free()`
i `quad_free()` cannot align observations in vertical direction

---

Cannot add `stack_alignh()` to `quad_alignh()`
i no active annotation stack
i try to activate an annotation stack with `anno_*()`

---

Cannot add `stack_freev()` to `quad_alignh()`
i no active annotation stack
i try to activate an annotation stack with `anno_*()`

---

Cannot add `stack_freev()` to `quad_alignh()`
i top annotation stack already exists

---

object 'mpsmall_matg' not found

---

Cannot add `(stack_freev() + quad_free(mpg) + quad_free(mpg))` to `quad_alignh()`
i annotation stack cannot contain nested layout

---

Cannot add `(stack_alignh() + ggheatmap(small_mat) + ggheatmap(small_mat))` to `quad_alignh()`
i annotation stack cannot contain nested layout

---

Cannot add `stack_freeh()` to `quad_alignh()`
i only vertical stack is allowed in top annotation

---

Cannot add `stack_alignv()` to a `quad_alignh()`
i `quad_alignh()` cannot align observations in vertical direction

---

Cannot add `stack_alignv()` to `quad_alignv()`
i no active annotation stack
i try to activate an annotation stack with `anno_*()`

---

Cannot add `stack_freeh()` to `quad_alignv()`
i no active annotation stack
i try to activate an annotation stack with `anno_*()`

---

Cannot add `stack_freeh()` to `quad_alignv()`
i top annotation stack already exists

---

Cannot add `stack_alignv()` to `quad_alignv()`
i left annotation stack already exists

---

Cannot add `(stack_freeh() + quad_free(mpg) + quad_free(mpg))` to `quad_alignv()`
i annotation stack cannot contain nested layout

---

Cannot add `(stack_alignv() + ggheatmap(small_mat) + ggheatmap(small_mat))` to `quad_alignv()`
i annotation stack cannot contain nested layout

---

Cannot add `stack_freeh()` to `quad_alignv()`
i only vertical stack is allowed in top annotation

---

Cannot add `stack_alignh()` to `quad_alignv()`
i only vertical stack is allowed in top annotation

Loading

0 comments on commit 76ea977

Please sign in to comment.