2V2-e.4: render 40250 pack terrain with map lighting
This commit is contained in:
@@ -332,6 +332,11 @@ static void test_asset_resolver_norm() {
|
||||
CHECK(AssetResolver::normalize("D:/ymir work/env/./x/../y.tga") == "ymir work/env/y.tga",
|
||||
"resolver normalize . and ..");
|
||||
CHECK(AssetResolver::normalize("/foo//bar") == "foo/bar", "resolver normalize // and lead /");
|
||||
AssetResolver pack;
|
||||
std::string error;
|
||||
CHECK(pack.build_or_load("pack://", {}, &error), "40250 virtual pack root needs no directory scan");
|
||||
CHECK(pack.resolve("D:\\Ymir Work\\Environment\\A.msenv") ==
|
||||
"pack://d:/ymir work/environment/a.msenv", "pack lookup preserves drive prefix");
|
||||
}
|
||||
|
||||
static void test_spt_tokens() {
|
||||
|
||||
Reference in New Issue
Block a user