Add static type assertions

Assert that various iterators satisfy the graph.Nexter interface
This commit is contained in:
Andrew Dunham 2015-04-14 16:26:55 -07:00
parent 84718983a5
commit 6aad2b1818
18 changed files with 37 additions and 0 deletions

View file

@ -218,3 +218,5 @@ func (it *Comparison) Stats() graph.IteratorStats {
func (it *Comparison) Size() (int64, bool) {
return 0, true
}
var _ graph.Nexter = &Comparison{}