Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we need a test for the constructor in ComponentSignals in containers.py #35

Open
sbillinge opened this issue Aug 1, 2023 · 3 comments

Comments

@sbillinge
Copy link
Contributor

No description provided.

@aajayi-21
Copy link
Contributor

    for component in actual:
        assert len(component.iq) == tcc[3]
        assert len(component.weights) == tcc[2]
        assert len(component.stretching_factors) == tcc[2]
        assert (component.grid == tcc[1]).all()

@aajayi-21
Copy link
Contributor

aajayi-21 commented Aug 1, 2023

(2, 3,[]), # Empty grid
(2, 10000,[0, .5, 1, 1.5]), # High number of signals
(3,np.arange(stop=125,step=.05),20,2500) # Long grid

@aajayi-21
Copy link
Contributor

Test zero signals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants