Skip to content

Commit

Permalink
debye test update and site links
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorkowski committed Oct 4, 2024
1 parent 43ff5d4 commit 7e304a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mk_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
input_path=repo_path,
output_path=repo_path / "docs/API",
source_paths=path_finder.glob("**/*.py"),
source_code_url="https://github.com/Gorkowski/particula/blob/main/",
source_code_url="https://github.com/uncscode/particula/blob/main/",
docstring_processor=PEP257DocstringProcessor(),
)

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: Particula
repo_url: https://github.com/uncscode/particula
repo_name: development-fork
repo_name: particula-main
edit_uri: edit/main/docs/_builds

theme:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ def test_debye_function_single_float():
"""Test the Debye function for single float values, including extremes."""
assert np.isclose(debye_function(1.0), 0.7765038970390566)
assert np.isclose(debye_function(1.0, n=2), 0.7078773477535959)
assert np.isclose(debye_function(1e-10), 1.0)
assert np.isclose(
debye_function(1e-10, integration_points=10000),
1.0, atol=1e-4)
assert np.isclose(debye_function(1e10), 0.0)
assert np.isclose(debye_function(1e-10, n=2), 1.0)
assert np.isclose(debye_function(1e10, n=2), 0.0)
Expand Down

0 comments on commit 7e304a6

Please sign in to comment.