latticesurgery-com / lattice-surgery-compiler

Lattice surgery quantum error correction compiler
https://latticesurgery.com
GNU Lesser General Public License v2.1
44 stars 6 forks source link

Write proper unit tests #100

Open gwwatkin opened 3 years ago

gwwatkin commented 3 years ago

What's done:

I propose full coverage of critical components, so near 100% coverage of the following:

For later, maybe create a separate issue, since they are not critical to our workflow:

I would leave out for the moment the stuff about the dag and scheduling of operations

gwwatkin commented 2 years ago

@isolatedinformation is already working on writing some unit tests for #48 and #44

alexnguyenn commented 2 years ago

@gwwatkin the issue description is too ambiguous, should we change this into something else?

I am thinking either a coverage % target or full coverage for critical components.

gwwatkin commented 2 years ago

@alexnguyenn and @isolatedinformation,

A recap of what's done (please add something if it's missing):

I propose full coverage of critical components, so near 100% coverage of the following:

For later, maybe create a separate issue, since they are not critical to our workflow:

I would leave out for the moment the stuff about the dag and scheduling of operations

alexnguyenn commented 2 years ago

@gwwatkin this looks great to me. Might want to include the new goals in the description.

gwwatkin commented 2 years ago

:+1: Added