add antialiasing test
This commit is contained in:
BIN
test/fixtures/styles/1.actual.png
vendored
Normal file
BIN
test/fixtures/styles/1.actual.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
test/fixtures/styles/1.expected.png
vendored
Normal file
BIN
test/fixtures/styles/1.expected.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
8
test/fixtures/styles/1.info.json
vendored
Normal file
8
test/fixtures/styles/1.info.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"zoom": 0,
|
||||
"latitude": 0,
|
||||
"longitude": 0,
|
||||
"angle": 0,
|
||||
"width": 512,
|
||||
"height": 512
|
||||
}
|
||||
33
test/fixtures/styles/1.style.json
vendored
Normal file
33
test/fixtures/styles/1.style.json
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"type": "vector",
|
||||
"url": "tiles/%d-%d-%d.vector.pbf",
|
||||
"tileSize": 512,
|
||||
"maxZoom": 14
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"render": {
|
||||
"type": "background"
|
||||
},
|
||||
"style": {
|
||||
"background-color": "red"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"source": "mapbox",
|
||||
"source-layer": "water",
|
||||
"render": {
|
||||
"type": "fill"
|
||||
},
|
||||
"style": {
|
||||
"fill-color": "blue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -67,4 +67,4 @@ TEST_P(HeadlessTest, render) {
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(Headless, HeadlessTest,
|
||||
::testing::Values("0"));
|
||||
::testing::Values("0", "1"));
|
||||
|
||||
Reference in New Issue
Block a user