yapf/unittest/unittest.cpp
changeset 4549 106ed18a7675
parent 3971 77061ae9b534
equal deleted inserted replaced
4548:6165e12570bf 4549:106ed18a7675
   107 	{ 0, -1}
   107 	{ 0, -1}
   108 };
   108 };
   109 
   109 
   110 extern "C"
   110 extern "C"
   111 const byte _ffb_64[128] = {
   111 const byte _ffb_64[128] = {
   112 	0,0,1,0,2,0,1,0,
   112 	 0,  0,  1,  0,  2,  0,  1,  0,
   113 	3,0,1,0,2,0,1,0,
   113 	 3,  0,  1,  0,  2,  0,  1,  0,
   114 	4,0,1,0,2,0,1,0,
   114 	 4,  0,  1,  0,  2,  0,  1,  0,
   115 	3,0,1,0,2,0,1,0,
   115 	 3,  0,  1,  0,  2,  0,  1,  0,
   116 	5,0,1,0,2,0,1,0,
   116 	 5,  0,  1,  0,  2,  0,  1,  0,
   117 	3,0,1,0,2,0,1,0,
   117 	 3,  0,  1,  0,  2,  0,  1,  0,
   118 	4,0,1,0,2,0,1,0,
   118 	 4,  0,  1,  0,  2,  0,  1,  0,
   119 	3,0,1,0,2,0,1,0,
   119 	 3,  0,  1,  0,  2,  0,  1,  0,
   120 
   120 
   121 	0,0,0,2,0,4,4,6,
   121 	 0,  0,  0,  2,  0,  4,  4,  6,
   122 	0,8,8,10,8,12,12,14,
   122 	 0,  8,  8, 10,  8, 12, 12, 14,
   123 	0,16,16,18,16,20,20,22,
   123 	 0, 16, 16, 18, 16, 20, 20, 22,
   124 	16,24,24,26,24,28,28,30,
   124 	16, 24, 24, 26, 24, 28, 28, 30,
   125 	0,32,32,34,32,36,36,38,
   125 	 0, 32, 32, 34, 32, 36, 36, 38,
   126 	32,40,40,42,40,44,44,46,
   126 	32, 40, 40, 42, 40, 44, 44, 46,
   127 	32,48,48,50,48,52,52,54,
   127 	32, 48, 48, 50, 48, 52, 52, 54,
   128 	48,56,56,58,56,60,60,62,
   128 	48, 56, 56, 58, 56, 60, 60, 62,
   129 };
   129 };
   130 
   130 
   131 /* Maps a trackdir to the (4-way) direction the tile is exited when following
   131 /* Maps a trackdir to the (4-way) direction the tile is exited when following
   132 * that trackdir */
   132 * that trackdir */
   133 extern "C"
   133 extern "C"