zksecurity / noname

Noname: a programming language to write zkapps
https://zksecurity.github.io/noname/
193 stars 50 forks source link

use proptest to test functions like `less_than` #210

Open mimoo opened 3 weeks ago

mimoo commented 3 weeks ago

we should generate two field elements a, b with a proptest library (like proptest) and check that the less_than gadget returns the same result as the a < b outside the circuit