algebra-club / TaguPy

MIT License
1 stars 0 forks source link

[Feat/utils] Add validation functions for assertions #18

Closed takesei closed 3 years ago

takesei commented 3 years ago

What

Why

In the current code, the same assertion codes appear multiple times, and this is not good.

codecov-commenter commented 3 years ago

Codecov Report

Merging #18 (bc6f45a) into main (deeeb75) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        13    +1     
  Lines           70        81   +11     
=========================================
+ Hits            70        81   +11     
Impacted Files Coverage Δ
tagupy/design/generator/_fullfact.py 100.00% <100.00%> (ø)
tagupy/design/generator/_onehot.py 100.00% <100.00%> (ø)
tagupy/utils/__init__.py 100.00% <100.00%> (ø)
tagupy/utils/_validators.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update deeeb75...bc6f45a. Read the comment docs.