Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/rename test files #87

Merged
merged 6 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading