Skip to content

add unit tests #19

@jwijffels

Description

@jwijffels

Add unit tests using R package tinytest

  • to test if embeddings based on list approach and file based approach are the same for different settings of the algorithm
  • to test if the embeddings are the same across platforms
  • to test if the embeddings stay the same when the internals are changed
  • to test if the resulting dimension of the embedding is correct
  • to evaluate inconsistent input data
  • to evaluate if the expected tokens are in the data
  • to evaluate different hyperparameters of the model

avoid adding complex package dependencies in Suggests to avoid continuous integration + CRAN build & dependency issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions