コード例 #1
0
 public void Initialize_1_Sets_BinaryReaderInstance()
 {
     var instance = new BinaryReaderWrap();
     var bReader = new BinaryReader(_fileStream);
     instance.Initialize(bReader);
     Assert.AreSame(bReader, instance.BinaryReaderInstance);
 }
コード例 #2
0
 public void Initialize_2_Sets_BinaryReaderInstance()
 {
     var instance = new BinaryReaderWrap();
     instance.Initialize(_fileStream);
     Assert.IsNotNull(instance.BinaryReaderInstance);
 }
コード例 #3
0
 public void Constructor_2_Sets_BinaryReaderInstance()
 {
     var instance = new BinaryReaderWrap(_fileStream);
     Assert.IsNotNull(instance.BinaryReaderInstance);
 }
コード例 #4
0
 public void Constructor_1_Sets_BinaryReaderInstance()
 {
     var bReader = new BinaryReader(_fileStream);
     var instance = new BinaryReaderWrap(bReader);
     Assert.AreSame(bReader, instance.BinaryReaderInstance);
 }