Esempio n. 1
0
        private static void RunStatisticsForPaperCreation()
        {
            var printer = new StatisticsPrinter();
            var io      = new StatisticsIo(DirEventsCompletion_KeepNoTrigger, DirEventsAll);

            new StatisticsForPaperRunner(io, printer).Run();
        }
Esempio n. 2
0
        public void IntegrationExample()
        {
            var sut = new StatisticsPrinter();

            sut.StartZip("a.zip", 1, 2);
            sut.FoundUserKey("auser");
            sut.FoundKeysInZip(Sets.NewHashSet("a1", "a2", "a3"));

            sut.StartZip("b.zip", 2, 2);
            sut.FoundUserKey("buser");
            sut.FoundKeysInZip(Sets.NewHashSet("b1", "b2", "b3"));

            sut.FoundUsers(Sets.NewHashSet("u1", "u2", "u3"));
            sut.FoundKeys(Sets.NewHashSet("1", "2", "3"));
            sut.FoundUpes(
                Lists.NewList <IUserProfileEvent>(new UserProfileEvent {
                Id = "1"
            }, new UserProfileEvent {
                Id = "2"
            }));

            sut.FoundAssignableZips(Sets.NewHashSet("a", "b"));
        }
Esempio n. 3
0
        public static void Main()
        {
            var doubleArray = new double[] { 4.44, 5.55, 6.66, 7.778 };

            StatisticsPrinter.PrintStatistics(doubleArray);
        }