tests/testthat/test_kp.R

##########################################################
## test-kp.r
##
## unit tests for functions that compute known population
## degree estimates
##
## TODO -- eventually, develop a catalog of simple networks
##         that we can hand-compute estimator values for,
##         and that can be part of these tests
##         (see also the tests for test_estimators.r)

load("toynetworks.RData")
load("toynrnetworks.RData")

####################################
## known population estimator
context("estimators - known population")

## TODO
## NOTE that the toy networks used in the estimator tests
##      would also work here...

####################################
## total degree estimator
context("estimators - known population total degree")

## TODO
dfeehan/networkreporting documentation built on May 17, 2023, 1:06 a.m.