Beispiel #1
0
        public async void RetrieveEmoticonsTest()
        {
            List <Emoticon> emotes = await twixel.RetrieveEmoticons();

            Emoticon rotations = emotes.FirstOrDefault((emote) => emote.regex == "ognTSM");

            Assert.NotNull(rotations);
        }
Beispiel #2
0
        public async void RetrieveEmoticonsTest()
        {
            List <Emoticon> emotes = await twixel.RetrieveEmoticons();

            Emoticon rotations = null;

            foreach (Emoticon emote in emotes)
            {
                if (emote.regex == "ognTSM")
                {
                    rotations = emote;
                    break;
                }
            }

            Assert.NotNull(rotations);
        }