public void Read_Boolean(byte[] buf, bool want) { using (var s = new OtpInputStream(buf)) { Assert.AreEqual(want, s.ReadBoolean()); } }