mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
added interface checks
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"errors"
|
||||
"github/pippellia-btc/crawler/pkg/graph"
|
||||
"github/pippellia-btc/crawler/pkg/pagerank"
|
||||
"github/pippellia-btc/crawler/pkg/walks"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -371,6 +372,8 @@ func TestPubkeys(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestInterfaces(t *testing.T) {
|
||||
var _ walks.Walker = RedisDB{}
|
||||
var _ pagerank.VisitCounter = RedisDB{}
|
||||
var _ pagerank.PersonalizedLoader = RedisDB{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user