Skip to content

Commit

Permalink
added sample test for PCC.conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Baptiste-Camps committed Oct 25, 2017
1 parent 014247f commit a29a3e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added tests/testthat/myConflicts.rds
Binary file not shown.
7 changes: 7 additions & 0 deletions tests/testthat/test-PCC.conflicts.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
context("PCC.conflicts")
#TODO: check fournival output
test_that("PCC.conflicts correct output on Fournival", {
data("fournival")
myConflicts = PCC.conflicts(fournival)
expect_equal_to_reference(myConflicts, file="myConflicts.rds")
})

0 comments on commit a29a3e0

Please sign in to comment.