public void GeneratePostsIterator_GenerateAccount_CreatesAccounNameWithPossibleBrackets()
        {
            // Round brackets
            StringBuilder         sb1       = new StringBuilder();
            GeneratePostsIterator genPosts1 = new GeneratePostsIterator(new Session(), 200);
            bool mustBalance1 = genPosts1.GenerateAccount(sb1);

            Assert.Equal("(Q 93:5xq2y5BjY:81:VN n76SLNFXOfO)", sb1.ToString());
            Assert.False(mustBalance1);

            // Square brackets
            StringBuilder         sb2       = new StringBuilder();
            GeneratePostsIterator genPosts2 = new GeneratePostsIterator(new Session(), 300);
            bool mustBalance2 = genPosts2.GenerateAccount(sb2);

            Assert.Equal("[Rz4sMk4kvVe53HOGo:i3 0y0hQI rxU2kb9oMO]", sb2.ToString());
            Assert.True(mustBalance2);

            // No brackets
            StringBuilder         sb3       = new StringBuilder();
            GeneratePostsIterator genPosts3 = new GeneratePostsIterator(new Session(), 500);
            bool mustBalance3 = genPosts3.GenerateAccount(sb3);

            Assert.Equal("rpBXV13cM:4m", sb3.ToString());
            Assert.True(mustBalance3);
        }
        public void GeneratePostsIterator_GenerateAccount_CreatesAccounNameWithoutBrackets()
        {
            StringBuilder         sb1       = new StringBuilder();
            GeneratePostsIterator genPosts1 = new GeneratePostsIterator(new Session(), 200);
            bool mustBalance1 = genPosts1.GenerateAccount(sb1, true);

            Assert.Equal("x3:5xq2y5BjY:81:VN n7", sb1.ToString());
            Assert.True(mustBalance1);
        }