about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dev_tests.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/dev_tests.rb b/test/dev_tests.rb
index 8ce8dbc..d63b8fe 100644
--- a/test/dev_tests.rb
+++ b/test/dev_tests.rb
@@ -22,4 +22,22 @@ class TestQuick < MiniTest::Test
                                                    [3,9,"3.909916e-02"]])
   end
 
+  def test_BXD
+    assert gemma("-g ./example/BXD_geno.txt.gz \
+           -p ./example/BXD_pheno.txt \
+           -c ./example/BXD_covariates2.txt \
+           -a ./example/BXD_snps.txt \
+           -gk \
+           -o BXD")
+
+    assert gemma("-g ./example/BXD_geno.txt.gz \
+           -p ./example/BXD_pheno.txt \
+           -c ./example/BXD_covariates2.txt \
+           -a ./example/BXD_snps.txt \
+           -k ./output/BXD.cXX.txt \
+           -lmm 2 -no-check -maf 0.1 \
+           -o BXDLMM")
+
+    expect("output/BXDLMM.assoc.txt",[[2,9,"1.234747e-01"]])
+  end
 end