Skip to content

Commit 6fbfe87

Browse files
committed
update test
1 parent be8c2eb commit 6fbfe87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit-test/test_run_dataset.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for (method in methods){
2626
expect_equal(colnames(output_props), celltypenames)
2727

2828
# Check 2
29-
if (method != "dstg"){
29+
if (!method %in% c("dstg", "destvi")){
3030
cat(">>> Checking whether proportions are correct...\n")
3131
expected_props <- read.table(paste0("unit-test/test_run_dataset/",
3232
"proportions_", method, "_test_sp_data"),
@@ -48,7 +48,7 @@ for (method in methods){
4848
expect_equal(colnames(output_metrics), metric_names)
4949

5050
# Check 4
51-
if (method != "dstg"){
51+
if (!method %in% c("dstg", "destvi")){
5252
cat(">>> Checking whether metrics are correct...\n")
5353
expected_metrics <- read.table(paste0("unit-test/test_run_dataset/",
5454
"metrics_", method, "_test_sp_data"),

0 commit comments

Comments
 (0)