<commit_before>#include <atlas/core/Platform.hpp>

#include <catch2/catch.hpp>

#include <string>

template<atlas::core::Platform P>
constexpr std::string getPlatformName()
{
    if constexpr (P == atlas::core::Platform::Windows)
    {
        return "Windows";
    }
    else
    {
        return "Linux";
    }
}

template<atlas::core::BuildType B>
constexpr std::string getBuildType()
{
    if constexpr (B == atlas::core::BuildType::Debug)
    {
        return "Debug";
    }
    else
    {<commit_msg>[brief] Changes platform test functions to use string_view.<commit_after>#include <atlas/core/Platform.hpp>

#include <catch2/catch.hpp>

#include <string>

template<atlas::core::Platform P>
constexpr std::string_view getPlatformName()
{
    if constexpr (P == atlas::core::Platform::Windows)
    {
        return "Windows";
    }
    else
    {
        return "Linux";
    }
}

template<atlas::core::BuildType B>
constexpr std::string_view getBuildType()
{
    if constexpr (B == atlas::core::BuildType::Debug)
    {
        return "Debug";
    }
    else
    {
{'fraction_non_alphanumeric': 0.1451310861423221, 'fraction_numerical': 0.0018726591760299626, 'mean_word_length': 3.2931726907630523, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '7193894', 'n_tokens_mistral': 358, 'n_tokens_neox': 350, 'n_words': 71}