mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
tests: add test for detecting wrong texture size
This commit is contained in:
parent
c4bb3efe3e
commit
a4d85c3cbb
2 changed files with 92 additions and 0 deletions
22
ressources/bad_maps/wrongmap_bad_texture_size.cub
Normal file
22
ressources/bad_maps/wrongmap_bad_texture_size.cub
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
NO ressources/north.xpm
|
||||
SO ressources/south.xpm
|
||||
WE ressources/west.xpm
|
||||
EA ressources/bad_size.xpm
|
||||
|
||||
F 220,100,100
|
||||
C 20,30,0
|
||||
|
||||
1111111111111111111111111
|
||||
1000000000110000000000001
|
||||
1011000001110000000000001
|
||||
1001000000000000000000001
|
||||
111111111011000001110000000000001
|
||||
100000000011000001110111110111111
|
||||
11110111111111011100000010001
|
||||
11110111111111011101010010001
|
||||
11000000110101011100000010001
|
||||
10000000000000001100000010001
|
||||
10000000000000001101010010001
|
||||
11000001110101011111011110N0111
|
||||
11110111 1110101 101111010001
|
||||
11111111 1111111 111111111111
|
||||
70
ressources/bad_size.xpm
Normal file
70
ressources/bad_size.xpm
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
/* XPM */
|
||||
static char *dummy[]={
|
||||
"65 64 3 1",
|
||||
"# c #67502e",
|
||||
"a c #833e4b",
|
||||
". c #d6a459",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
"............................####.................................",
|
||||
".........................###....##...............................",
|
||||
"......................###........................................",
|
||||
".....................#...........................................",
|
||||
"....................#............................................",
|
||||
"...................#.............................................",
|
||||
"..................#..............................................",
|
||||
"..................#..............................................",
|
||||
"..................#..............................................",
|
||||
"..................#..............................................",
|
||||
"...................##............................................",
|
||||
".....................##..........................................",
|
||||
".......................#.........................................",
|
||||
"........................##.......................................",
|
||||
"..........................##.....................................",
|
||||
"............................##...................................",
|
||||
"..............................###................................",
|
||||
".................................#...............................",
|
||||
"..................................#..............................",
|
||||
"..................................#..............................",
|
||||
"..................................#..............................",
|
||||
"..................................#..............................",
|
||||
"..................................#..............................",
|
||||
".................................#...............................",
|
||||
"................................#................................",
|
||||
"..............................##.................................",
|
||||
"............................##...................................",
|
||||
"....................########.....................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
"........aa.......................................................",
|
||||
"........aaa......................................................",
|
||||
"........a.a......................................................",
|
||||
".......a..a......................................................",
|
||||
".......a..a.......aa.....................aaa.....................",
|
||||
".......a..a.......aa....................a.......a................",
|
||||
".......aaaa......a.a......aaaa..........a.......a.a..............",
|
||||
".......aa........aaaa......a..a.........aaa.....a..aaa...........",
|
||||
".......aa.......a...a......a..aa..........a.....a....a....aaa....",
|
||||
".......a.a.....a....a......a....a........aa....a...aaa...aa......",
|
||||
".......a.a.....a....a......a....a................aa......a.......",
|
||||
".......a.a.....a....a......a....a................aaa.....aaa.....",
|
||||
".......a.aa................a..aa....................aaa..aa......",
|
||||
".......aaa.................a..a.......................a..a.......",
|
||||
".......a...................aaa...........................aaa.....",
|
||||
"...........................aa....................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
".................................................................",
|
||||
"................................................................."};
|
||||
Loading…
Add table
Add a link
Reference in a new issue