public void CanUpdate()
 {
     using (var cell = new RamCell("my-cell"))
     {
         cell.Update(new InputOf("its so hot outside"));
         Assert.Equal(
             "its so hot outside",
             new TextOf(cell.Content()).AsString()
             );
     }
 }
 public void InitializesWithMemory()
 {
     using (var cell = new RamCell("my-cell", new MemoryStream(new byte[1] {
         0x00
     })))
     {
         Assert.True(
             cell.Content()[0]
             .Equals(0x00)
             );
     }
 }
 public void IsThreadsaveWithDifferentCells()
 {
     Parallel.For(0, Environment.ProcessorCount << 4, i =>
             {
             var cell = new RamCell();
             cell.Update(new InputOf("my input"));
             Assert.Equal(
                 "my input",
                 new TextOf(
                     cell.Content()
                     ).AsString()
                 );
         });
 }