Skip to content

Wrong test in main.py - dipole_field_test(): #3

@LucasGrosset

Description

@LucasGrosset

In the function dipole_field_test() of main.py, the fourth test comment and actual test do not match (-3 on comments, 3 on test):

  # At (y, z) = (0, -1), the field should be (0, -3)
  assert np.all(dipole_field([-1, 0]) - np.array([0, 3])) < 1e-15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions