The goog.testing.graphics Namespace

.assertPathEquals(expected, path)

Test if the given path matches the expected array of commands and parameters.

expected {Array.<string|number>}
The expected array of commands and parameters.
path {goog.graphics.Path}
The path to test against.