NoSoliciting/NoSoliciting.Tests/DefinitionsTests/Chat.RMT.cs

29 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Xunit;
namespace NoSoliciting.Tests.DefinitionsTests.Chat {
public class RMT : DefinitionTest {
public RMT(DefinitionsFixture fixture) {
this.Def = fixture.defs.Chat["rmt"];
}
public static object[][] DataPositives => DefUtils.DataFromMessages(new TestMessage[] {
new TestMessage(ChatType.Shout, "FF14Mog.com selling cheap Mog Station Redeem Code,Dirndl's Attire $8.99, Chocobo Carriage $14.39 ,Use 5Off Code:FF5"),
new TestMessage(ChatType.Say, "----[4KGOLD.COM]----[Best Buy Gil Store]----[Cheapest Price]-----[4KGOLD.COM]---[Ultrafast Deliveryin 10 Mins]--[6OFF Code;LOVE]---359qe"),
new TestMessage(ChatType.Shout, "【 PVP◇NK.℃ O M 、◇ = BA 】5分納品ジル480-500HQセット希望の園エデン (野蛮)全部強奪!安い&安全保障【コード714、5OFF】!!!-ssrum"),
new TestMessage(ChatType.Shout, "【 PV■NK.℃ O M 、■ = PBA 】5分納品ジル480-500HQセット希望の園エデン (野蛮)全部強奪!安い&安全保障【コード714、5OFF】!!!-cfjyf"),
});
//public static object[][] DataNegatives => DefUtils.DataFromMessages(new TestMessage[] {
//});
[Theory]
[MemberData(nameof(DataPositives))]
public void Positives(TestMessage message) => this.Check(message, CheckType.Positive);
//[Theory]
//[MemberData(nameof(DataNegatives))]
//public void Negatives(TestMessage message) => this.Check(message, CheckType.Negative);
}
}