amaranth-lang / amaranth-soc

System on Chip toolkit for Amaranth HDL
BSD 2-Clause "Simplified" License
84 stars 31 forks source link

Test positional and keyword argument passing #17

Closed Fatsie closed 4 years ago

Fatsie commented 4 years ago

When functions support positional argument passing both passing the argument by position and by keyword is part of the API. Using both call methods in the unit tests for such arguments will detect possible future backwards compatibility breakage.

codecov[bot] commented 4 years ago

Codecov Report

Merging #17 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          630       630           
  Branches       140       140           
=========================================
  Hits           630       630           

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 13a2370...f840f68. Read the comment docs.

whitequark commented 4 years ago

Thanks!