Skip to content

Commit

Permalink
Test opt. direct parameters with data that makes sense in context
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Jun 12, 2023
1 parent e1c8c45 commit 8351ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ def test_clugen_optional_direct(
clusep_fn,
allow_empty,
):
"""Test the optional parameters of the clugen() function."""
"""Test optional parameters of clugen() with direct input."""
# Direct parameters (instead of functions)
csz_direct = prng.integers(1, 100, num_clusters)
cctr_direct = prng.normal(size=(num_clusters, ndims))
llen_direct = prng.normal(size=num_clusters)
lang_direct = prng.random(num_clusters)
llen_direct = 20 * prng.random(num_clusters)
lang_direct = pi * prng.random(num_clusters) - pi / 2

# Valid arguments
tpts = sum(csz_direct)
Expand Down

0 comments on commit 8351ae9

Please sign in to comment.