ahmed-alllam / AlphaLogos

Boolean Function Analyzer and Synthesis Optimization Tool
http://alpha-logos-1464863388.eu-west-3.elb.amazonaws.com/
MIT License
1 stars 0 forks source link

Truth table generator unit tests #14

Closed MohamedEbrahem1 closed 11 months ago

MohamedEbrahem1 commented 11 months ago

This PR is to make test cases for the truth table generator function. The function receives a string for the expression and returns a vector of bools for the truth table output in the permutation order. The test cases will cover various variations of inputs. These test cases cover a variety of scenarios, including different logical expressions and variable combinations. I have focused on simple and complex expressions to validate the generator's behavior in different scenarios. The test cases check if the generated truth tables match the expected output.