示例#1
0
        public string NextChunk([PexAssumeUnderTest] Chunker target)
        {
            // TODO: add assertions to method ChunkerTest.NextChunk(Chunker)
            string result = target.NextChunk();

            return(result);
        }
示例#2
0
        public Chunker Constructor(string source, int chunkSize)
        {
            // TODO: add assertions to method ChunkerTest.Constructor(String, Int32)
            Chunker target = new Chunker(source, chunkSize);

            return(target);
        }
示例#3
0
        public static void PexHelper(string s, int i)
        {
            Chunker c = new Chunker(s, i);

            string chunk;

            while ((chunk = c.NextChunk()) != "")
            {
                Console.WriteLine(chunk);
            }
        }
示例#4
0
 public Chunker Constructor(string source, int chunkSize)
 {
     // TODO: add assertions to method ChunkerTest.Constructor(String, Int32)
     Chunker target = new Chunker(source, chunkSize);
     return target;
 }
示例#5
0
    public static void PexHelper(string s, int i)
    {
      Chunker c = new Chunker(s, i);

      string chunk;
      while ((chunk = c.NextChunk()) != "")
      {
        Console.WriteLine(chunk);
      }
    }
示例#6
0
 public void ChunkSizeGet([PexAssumeUnderTest] Chunker target)
 {
     // TODO: add assertions to method ChunkerTest.ChunkSizeGet(Chunker)
     int result = target.ChunkSize;
 }