This PR adds a NAND function to the Solver project. The NAND function is a fundamental logic gate in computing and is required for the project to function correctly. The function is implemented in the main.rs file and is tested with several test cases.
Summary of Changes
Added nand function to perform a NAND operation on two boolean inputs.
Added test cases for the nand function to ensure its correctness.
Fixes #3.
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR adds a NAND function to the Solver project. The NAND function is a fundamental logic gate in computing and is required for the project to function correctly. The function is implemented in the
main.rs
file and is tested with several test cases.Summary of Changes
nand
function to perform a NAND operation on two boolean inputs.nand
function to ensure its correctness.Fixes #3.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: