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

Parallel testing #62

Open
erhant opened this issue Feb 7, 2024 · 0 comments
Open

Parallel testing #62

erhant opened this issue Feb 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@erhant
Copy link
Owner

erhant commented Feb 7, 2024

Consider the following test (of a logical OR gate):

await circuit.expectPass({ in: [0, 0] }, { out: 0 });
await circuit.expectPass({ in: [0, 1] }, { out: 0 });
await circuit.expectPass({ in: [1, 0] }, { out: 0 });
await circuit.expectPass({ in: [1, 1] }, { out: 1 });

If we were to use Promise.all for these, we get errors. Need to dive deeper into why that happens.

@erhant erhant added the bug Something isn't working label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant