Killed history

This commit is contained in:
Kwoth
2021-09-06 21:29:22 +02:00
commit 7aca29ae8a
950 changed files with 366651 additions and 0 deletions

25
Nadeko.Tests/Random.cs Normal file
View File

@@ -0,0 +1,25 @@
using System;
using System.Text;
using NadekoBot.Common.Yml;
using NUnit.Framework;
namespace Nadeko.Tests
{
public class RandomTests
{
[SetUp]
public void Setup()
{
Console.OutputEncoding = Encoding.UTF8;
}
[Test]
public void Utf8CodepointsToEmoji()
{
var point = @"0001F338";
var hopefullyEmoji = YamlHelper.UnescapeUnicodeCodePoint(point);
Assert.AreEqual("🌸", hopefullyEmoji, hopefullyEmoji);
}
}
}