Close() public method

public Close ( ) : void
return void
 public void reading_off_same_instance_gives_most_up_to_date_info()
 {
     var checkSum = new FileCheckpoint(Filename);
     checkSum.Write(0xDEAD);
     checkSum.Flush();
     var read = checkSum.Read();
     checkSum.Close();
     Assert.AreEqual(0xDEAD, read);
 }
 public void the_new_value_is_not_accessible_if_not_flushed_even_with_delay()
 {
     var checkSum = new FileCheckpoint(Filename);
     var readChecksum = new FileCheckpoint(Filename);
     checkSum.Write(1011);
     Thread.Sleep(200);
     Assert.AreEqual(0, readChecksum.Read());
     checkSum.Close();
     readChecksum.Close();
 }
 public void can_read_existing_checksum()
 {
     var checksum = new FileCheckpoint(Filename);
     checksum.Write(0xDEAD);
     checksum.Close();
     checksum = new FileCheckpoint(Filename);
     var val = checksum.Read();
     checksum.Close();
     Assert.AreEqual(0xDEAD, val);
 }
 public void the_new_value_is_accessible_after_flush()
 {
     var checkSum = new FileCheckpoint(Filename);
     var readChecksum = new FileCheckpoint(Filename);
     checkSum.Write(1011);
     checkSum.Flush();
     Assert.AreEqual(1011, readChecksum.Read());
     checkSum.Close();
     readChecksum.Close();
 }
 public void name_is_set()
 {
     var checksum = new FileCheckpoint("filename", "test");
     Assert.AreEqual("test", checksum.Name);
     checksum.Close();
 }