Documentation ¶
Overview ¶
Package feature implements utilities common to implementations of FeatureDetector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFileForTest ¶
LoadFileForTest can be used in order to obtain the []byte contents of a file that is meant to be used for test data.
func TestDetector ¶
func TestDetector(t *testing.T, detector detectors.FeaturesDetector, testData []TestData)
TestDetector runs a detector on each provided instance of TestData and asserts the ouput to be equal to the expected output.
Types ¶
Click to show internal directories.
Click to hide internal directories.