Skip to content

Unit Tests #8

Description

@StephMcCallum

Unit tests are needed to check:

Periodic boundary conditions:

  • particle outside of first periodic box
  • non-cubic boxes
  • long bonds

Random walk:

  • uniform thetas and phis
  • all particles are given a position
  • all bonded particles are a bond length away

DPD frame instance:

  • A particles are added to the frame
  • positions from random walk are added to the frame
  • bonds, angles and dihedrals are added to the frame

DPD simulation:

  • parameters match input from kwargs
  • running in a loop, checking simulation end criteria
  • random number seeds

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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