Example #1
0
        public static IEnumerable<MentionTest> GetPremadeMentions()
        {
            

            var sample = new MentionTest[]
            {
                new MentionTest{ OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List<long> {1}, Type = "tweet" },
                new MentionTest{ OccurredOnTicks = 0, Name = "happy", Description = "lol", Sentiment = 50, Tags = new List<long> {1}, Type = "tweet" },
                new MentionTest{ OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List<long> {1}, Type = "tweet" },
                new MentionTest{ OccurredOnTicks = 0, Name = "happy", Description = "lol", Sentiment = 50, Tags = new List<long> {1}, Type = "tweet" },
                new MentionTest{ OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List<long> {1}, Type = "tweet" },
                new MentionTest{ OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List<long> {2,3}, Type = "status" },
                new MentionTest{ OccurredOnTicks = 1, Name = "dont care", Description = "meh", Sentiment = -50, Tags = new List<long> {2,3}, Type = "status" },
                new MentionTest{ OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List<long> {2,3}, Type = "status" },
                new MentionTest{ OccurredOnTicks = 1, Name = "dont care", Description = "meh", Sentiment = -50, Tags = new List<long> {2,3}, Type = "status" },
                new MentionTest{ OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List<long> {2,3}, Type = "status" },
                new MentionTest{ OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List<long> {4}, Type = "blog" },
                new MentionTest{ OccurredOnTicks = 2, Name = "very sad", Description = "sob", Sentiment = -75, Tags = new List<long> {4}, Type = "blog" },
                new MentionTest{ OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List<long> {4}, Type = "blog" },
                new MentionTest{ OccurredOnTicks = 2, Name = "very sad", Description = "sob", Sentiment = -75, Tags = new List<long> {4}, Type = "blog" },
                new MentionTest{ OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List<long> {4}, Type = "blog" },
                new MentionTest{ OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List<long> {5}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 3, Name = "very funny", Description = "ha ha", Sentiment = 75, Tags = new List<long> {5}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List<long> {5}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 3, Name = "very funny", Description = "ha ha", Sentiment = 75, Tags = new List<long> {5}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List<long> {5}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List<long> {6}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 4, Name = "really bored", Description = "blah", Sentiment = -5, Tags = new List<long> {6}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List<long> {6}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 4, Name = "really bored", Description = "blah", Sentiment = -5, Tags = new List<long> {6}, Type = "forum" },
                new MentionTest{ OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List<long> {6}, Type = "forum" },
            };

            return sample;
        }
Example #2
0
        public static IEnumerable <MentionTest> GetPremadeMentions()
        {
            var sample = new MentionTest[]
            {
                new MentionTest {
                    OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List <long> {
                        1
                    }, Type = "tweet"
                },
                new MentionTest {
                    OccurredOnTicks = 0, Name = "happy", Description = "lol", Sentiment = 50, Tags = new List <long> {
                        1
                    }, Type = "tweet"
                },
                new MentionTest {
                    OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List <long> {
                        1
                    }, Type = "tweet"
                },
                new MentionTest {
                    OccurredOnTicks = 0, Name = "happy", Description = "lol", Sentiment = 50, Tags = new List <long> {
                        1
                    }, Type = "tweet"
                },
                new MentionTest {
                    OccurredOnTicks = 0, Name = "lol", Description = "happy", Sentiment = 100, Tags = new List <long> {
                        1
                    }, Type = "tweet"
                },
                new MentionTest {
                    OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List <long> {
                        2, 3
                    }, Type = "status"
                },
                new MentionTest {
                    OccurredOnTicks = 1, Name = "dont care", Description = "meh", Sentiment = -50, Tags = new List <long> {
                        2, 3
                    }, Type = "status"
                },
                new MentionTest {
                    OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List <long> {
                        2, 3
                    }, Type = "status"
                },
                new MentionTest {
                    OccurredOnTicks = 1, Name = "dont care", Description = "meh", Sentiment = -50, Tags = new List <long> {
                        2, 3
                    }, Type = "status"
                },
                new MentionTest {
                    OccurredOnTicks = 1, Name = "meh", Description = "dont care", Sentiment = 0, Tags = new List <long> {
                        2, 3
                    }, Type = "status"
                },
                new MentionTest {
                    OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List <long> {
                        4
                    }, Type = "blog"
                },
                new MentionTest {
                    OccurredOnTicks = 2, Name = "very sad", Description = "sob", Sentiment = -75, Tags = new List <long> {
                        4
                    }, Type = "blog"
                },
                new MentionTest {
                    OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List <long> {
                        4
                    }, Type = "blog"
                },
                new MentionTest {
                    OccurredOnTicks = 2, Name = "very sad", Description = "sob", Sentiment = -75, Tags = new List <long> {
                        4
                    }, Type = "blog"
                },
                new MentionTest {
                    OccurredOnTicks = 2, Name = "sob", Description = "very sad", Sentiment = -100, Tags = new List <long> {
                        4
                    }, Type = "blog"
                },
                new MentionTest {
                    OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List <long> {
                        5
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 3, Name = "very funny", Description = "ha ha", Sentiment = 75, Tags = new List <long> {
                        5
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List <long> {
                        5
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 3, Name = "very funny", Description = "ha ha", Sentiment = 75, Tags = new List <long> {
                        5
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 3, Name = "ha ha", Description = "very funny", Sentiment = 100, Tags = new List <long> {
                        5
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List <long> {
                        6
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 4, Name = "really bored", Description = "blah", Sentiment = -5, Tags = new List <long> {
                        6
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List <long> {
                        6
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 4, Name = "really bored", Description = "blah", Sentiment = -5, Tags = new List <long> {
                        6
                    }, Type = "forum"
                },
                new MentionTest {
                    OccurredOnTicks = 4, Name = "blah", Description = "really bored", Sentiment = -20, Tags = new List <long> {
                        6
                    }, Type = "forum"
                },
            };

            return(sample);
        }