Browse Source

Refactoring tests

luis 7 years ago
parent
commit
b5424cd028
1 changed files with 5 additions and 5 deletions
  1. 5 5
      go/src/flow/flow_test.go

+ 5 - 5
go/src/flow/flow_test.go

@@ -174,11 +174,11 @@ func BenchmarkComplex(b *testing.B) {
 }
 
 func init() {
-	flow.Register("vecmul", VecMul)
-	flow.Register("vecadd", VecAdd)
-	flow.Register("vecdiv", VecDiv)
-	flow.Register("inc", Inc)
-	flow.Register("add", Add)
+	registry.Register("vecmul", VecMul)
+	registry.Register("vecadd", VecAdd)
+	registry.Register("vecdiv", VecDiv)
+	registry.Register("inc", Inc)
+	registry.Register("add", Add)
 }
 
 func prepareComplex() (*flow.Flow, flow.Operation) {