Class SensorHelper
Utility methods related to ISensor implementations.
Syntax
public static class SensorHelper : object
Methods
CompareObservation(ISensor, Single[], out String)
Generates the observations for the provided sensor, and returns true if they equal the
expected values. If they are unequal, errorMessage is also set.
This should not generally be used in production code. It is only intended for
simplifying unit tests.
Declaration
public static bool CompareObservation(ISensor sensor, float[] expected, out string errorMessage)
Parameters
Returns
CompareObservation(ISensor, Single[,,], out String)
Generates the observations for the provided sensor, and returns true if they equal the
expected values. If they are unequal, errorMessage is also set.
This should not generally be used in production code. It is only intended for
simplifying unit tests.
Declaration
public static bool CompareObservation(ISensor sensor, float[,, ] expected, out string errorMessage)
Parameters
Returns