public void Free_ShouldReturnStringWhenFreeSegmentIsFalse()
        {
            // prepare
            var str = "test 1 2 3";
            // execute
            var gs     = new GString(str);
            var result = gs.Free(false);

            // assert
            Assert.Equal(str, result);
        }
        public void Free_ShouldReturnNothingFreeSegmentIsTrue()
        {
            // prepare
            var str = "test 1 2 3";

            // execute
            using (var gs = new GString(str))
            {
                var result = gs.Free(true);
                // assert
                Assert.True(string.IsNullOrEmpty(result));
            }
        }