Skip to content

Commit

Permalink
Changing transformer test
Browse files Browse the repository at this point in the history
  • Loading branch information
mweilsalesforce committed Jun 7, 2021
1 parent 660c269 commit 49425a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class DateToUnitCircleTransformerTest extends OpTransformerSpec[OPVector, DateTo
val vector = vectorizer.getOutput()
val actual = transformed.collect(vector)
val expected = Array(
Array(0.0, 0.0),
Array(1.0, 0.0),
Array(1.0, 0.0)
).map(Vectors.dense(_).toOPVector)
all(actual.zip(expected).map(g => Vectors.sqdist(g._1.value, g._2.value))) should be < eps
Expand Down

0 comments on commit 49425a8

Please sign in to comment.