private TestResult BinaryRead() { sw.Restart(); var content = FastBinary.Read <TestObject>(Path.Combine(path, "binary")); return(new TestResult(content.Equals(testObject), sw.Elapsed)); }
private TestResult BinaryWrite() { sw.Restart(); FastBinary.Write(Path.Combine(path, "binary"), testObject); return(new TestResult(true, sw.Elapsed)); }