<commit_before>Remove-Item ./Assets -Force -Recurse

if (!(Test-Path ./bin/Debug/MsgPack.dll))
{
    Write-Error "Build MsgPack.UnitTest.Unity.Full.Desktop project with Debug configuration first."
    exit 1
}

[string[]]$additionalDefines = ("#define AOT", "#define NET35")
[xml]$csproj = Get-Content ./MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop.csproj
foreach($c in $csproj.Project.ItemGroup.Compile)
{
    if ($c.Include -eq $null)
    {
        continue
    }

    if ($c.Link -ne $null)
    {
        $destination = "Assets/UnitTests/$($c.Link)".Replace("\", "/")
    }
    else
    {
        $destination = "Assets/UnitTests/$($c.Include)".Replace("\", "/")<commit_msg>Improve Unity test stability with UNITY_WORKAROUND<commit_after>Remove-Item ./Assets -Force -Recurse

if (!(Test-Path ./bin/Debug/MsgPack.dll))
{
    Write-Error "Build MsgPack.UnitTest.Unity.Full.Desktop project with Debug configuration first."
    exit 1
}

[string[]]$additionalDefines = ("#define AOT", "#define NET35", "#define UNITY_WORKAROUND")
[xml]$csproj = Get-Content ./MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop.csproj
foreach($c in $csproj.Project.ItemGroup.Compile)
{
    if ($c.Include -eq $null)
    {
        continue
    }

    if ($c.Link -ne $null)
    {
        $destination = "Assets/UnitTests/$($c.Link)".Replace("\", "/")
    }
    else
    {
        $destination = "Assets/UnitTests/$($c.Include)".Replace("\", "/")
{'fraction_non_alphanumeric': 0.17809187279151945, 'fraction_numerical': 0.005653710247349823, 'mean_word_length': 3.1403508771929824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6959918', 'n_tokens_mistral': 509, 'n_tokens_neox': 474, 'n_words': 91}