CountUsers() public méthode

public CountUsers ( ) : long
Résultat long
Exemple #1
0
        public void CountUsers()
        {
            Users usr = new Users(Utils.GetConfigNodes());

            long cnt = usr.CountUsers();

            Console.WriteLine("Count is " + cnt);
        }
Exemple #2
0
        public void SimpleTest()
        {
            Users usr = new Users(Utils.GetConfigNodes());
            usr.EmptyAll();

            usr.InsertUsers(1000);
            // bug ?
            long cnt = usr.CountUsers();
            usr.SubmitAll();
            usr.TestCycle(500);

            Assert.IsTrue(usr.IsConsistent());
        }