<commit_before>#define CATCH_CONFIG_MAIN
#include "catch.hpp"

#include <iostream>
#include <vector>
#include <string>

#include "data/filters.h"
#include "yaml-cpp/yaml.h"
#include "scene/sceneLoader.h"
#include "scene/scene.h"

using namespace Tangram;
using YAML::Node;

TEST_CASE( "Style Mixing Test: Nested Style Mixin Nodes", "[mixing][core][yaml]") {
    SceneLoader sceneLoader;
    UniqueStyles uniqueStyles;<commit_msg>test to check prop value post out of order merge<commit_after>#define CATCH_CONFIG_MAIN
#include "catch.hpp"

#include <iostream>
#include <vector>
#include <string>

#include "data/filters.h"
#include "yaml-cpp/yaml.h"
#include "scene/sceneLoader.h"
#include "scene/scene.h"

using namespace Tangram;
using YAML::Node;

TEST_CASE( "Style Mixing Test: Concrete Overwrite value check", "[mixing][core][yaml]") {
    SceneLoader sceneLoader;
    UniqueStyles uniqueStyles;
    Mixes mix;
    Node mixNode;
    Node node = YAML::Load(R"END(
        StyleA:
            mix: StyleB
        StyleB:
            mix: StyleC
        StyleC:
            material: valueC
        )END");

    mix = sceneLoader.recursiveMixins({}, "StyleA", node, uniqueStyles);
    mixNode = sceneLoader.mixStyle(mix);
    REQUIRE(mixNode["material"].as<std::string>() == "valueC");
}

TEST_CASE( "Style Mixing Test: Nested Style Mixin Nodes", "[mixing][core][yaml]") {
    SceneLoader sceneLoader;
    UniqueStyles uniqueStyles;
{'fraction_non_alphanumeric': 0.13189113747383113, 'fraction_numerical': 0.0, 'mean_word_length': 4.195652173913044, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4124597', 'n_tokens_mistral': 482, 'n_tokens_neox': 473, 'n_words': 119}