Example #1
0
        public static void TestKillCrit()
        {
            var sut = ReaderThread.TextChecker(
                "[RLS]V952 killed Tom with sniperrifle. (crit)");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.KillCrit));
        }
Example #2
0
        public static void TestChat()
        {
            var sut = ReaderThread.TextChecker(
                "*DEAD* Hey : ImJust a test lul");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.Chatted));
        }
Example #3
0
        public static void TestCommandExecute()
        {
            var sut = ReaderThread.TextChecker(
                "nickname test lyl:) : !request https://www.youtube.com/watch?v=DZV3Xtp-BK0");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.CommandExecute));
        }
Example #4
0
        public static void TestKillCrit()
        {
            var sut = ReaderThread.TextChecker(
                "DllMain | aimware killed One-Man Cheeseburger Apocalypse with sniperrifle. (crit)");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.KillCrit));
        }
Example #5
0
        public static void TestKill()
        {
            var sut = ReaderThread.TextChecker("BoyPussi killed dat boi 28 with sniperrifle. (crit)");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.KillCrit));
            sut = ReaderThread.TextChecker(
                "[NCC] DllMain killed $20 users with tf_projectile_rocket.");
            Assert.That(sut, Is.EqualTo(ReaderThread.Result.Kill));
        }
Example #6
0
        public static void TestKill()
        {
            var sut = ReaderThread.TextChecker("BoyPussi killed dat boi 28 with sniperrifle. (crit)");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.KillCrit));
            sut = ReaderThread.TextChecker(
                "DllMain | aimware killed One-Man Cheeseburger Apocalypse with tf_projectile_rocket.");
            Assert.That(sut, Is.EqualTo(ReaderThread.Result.Kill));
        }
Example #7
0
        public static void TestSuicide()
        {
            var sut = ReaderThread.TextChecker("DurRud suicided.");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.Suicide));
        }
Example #8
0
        public static void TestConnect()
        {
            var sut = ReaderThread.TextChecker("[NCC]Effie connected");

            Assert.That(sut, Is.EqualTo(ReaderThread.Result.Connected));
        }