Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/tests/test_Serializer.h
Show First 20 Lines • Show All 818 Lines • ▼ Show 20 Lines | for (size_t i = 0; i < 256; ++i) | ||||
} | } | ||||
} | } | ||||
} | } | ||||
void test_hash_DISABLED() | void test_hash_DISABLED() | ||||
{ | { | ||||
CXeromyces::Startup(); | CXeromyces::Startup(); | ||||
g_VFS = CreateVfs(20 * MiB); | g_VFS = CreateVfs(); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"", DataDir()/"mods"/"public", VFS_MOUNT_MUST_EXIST)); | TS_ASSERT_OK(g_VFS->Mount(L"", DataDir()/"mods"/"public", VFS_MOUNT_MUST_EXIST)); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir()/"_testcache")); | TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir()/"_testcache")); | ||||
// Need some stuff for terrain movement costs: | // Need some stuff for terrain movement costs: | ||||
// (TODO: this ought to be independent of any graphics code) | // (TODO: this ought to be independent of any graphics code) | ||||
new CTerrainTextureManager; | new CTerrainTextureManager; | ||||
g_TexMan.LoadTerrainTextures(); | g_TexMan.LoadTerrainTextures(); | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator