Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LandscapeImageFile is the path to the sample image landscape LandscapeImageFile = "../images/lisbon-tram.jpg" // PortraitImageFile is the path to the sample image portrait PortraitImageFile = "../images/big-ben.jpg" // PNGImageFile is the path to the sample PNG image PNGImageFile = "../images/bag.png" )
Variables ¶
This section is empty.
Functions ¶
func LandscapeImage ¶
func LandscapeImage() *bimg.Image
LandscapeImage returns a landscape test image
func TestCreate ¶
func TestCreate(t *testing.T, spec func() filters.Spec, items []CreateTestItem)
TestCreate autonmatically creates a test for the CreateTestItem
Types ¶
type CreateTestItem ¶
CreateTestItem is a utility to test arguments in eskip files
Click to show internal directories.
Click to hide internal directories.