testing.assertEqualValues() function
testing.assertEqualValues()
tests whether two values are equal.
Function type signature
(got: A, want: A) => stream[{v: A, _diff: string}]
Parameters
got
(Required) Value to test.
want
(Required) Expected value to test against.
Examples
Test if two values are equal
import "testing"
testing.assertEqualValues(got: 5, want: 12)
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.