Skip to content

Commit

Permalink
Merge pull request #87 from ropensci/fix/rename-test-files
Browse files Browse the repository at this point in the history
Fix/rename test files
  • Loading branch information
robitalec authored Oct 3, 2024
2 parents 3e7ebc4 + cbb30c8 commit 2b148f2
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/test-dyad.R → tests/testthat/test-dyad-id.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
context("test-dyad")
# Test dyad_id
context("test dyad_id")

library(spatsoc)

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-edge-dist.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Test edge_dist
context("test-edge-dist")

library(spatsoc)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-edge-nn.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Test edge_nn
context("test-edge-nn")

library(spatsoc)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-fusion-id.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Test fusion_id
context("test-fusion-id")

library(spatsoc)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-gbi.R → tests/testthat/test-get-gbi.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Test GBI
# Test get_gbi
context('test get_gbi')

library(spatsoc)

DT <- fread('../testdata/DT.csv')
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-group-lines.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Test group_lines
context('test group_lines')

library(spatsoc)

DT <- fread('../testdata/DT.csv')
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-group-polys.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Test group_polys
context('test group_polys')

library(spatsoc)

DT <- fread('../testdata/DT.csv')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Test Points
# Test group_pts
context('test group_pts')

library(spatsoc)

DT <- fread('../testdata/DT.csv')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Test group_times
context('test group_times')

library(spatsoc)

DT <- fread('../testdata/DT.csv', tz = 'UTC')
# Sys.setenv(TZ='GMT')

test_that('DT is required', {
expect_error(group_times(DT = NULL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Test Random
# Test randomizations
context('test randomizations')

library(spatsoc)

DT <- fread('../testdata/DT.csv')
Expand Down

0 comments on commit 2b148f2

Please sign in to comment.