Beispiel #1
0
        public void TestRepeatEosU4()
        {
            var r = RepeatEosU4.FromFile(SourceFile("repeat_eos_struct.bin"));

            Assert.AreEqual(r.Numbers, new List <int> {
                0, 66, 66, 2069
            });
        }
Beispiel #2
0
        public void TestRepeatEosU4()
        {
            RepeatEosU4 r = RepeatEosU4.FromFile(SourceFile("repeat_eos_struct.bin"));

            CollectionAssert.AreEqual(r.Numbers, new long[] { 0, 0x42, 0x42, 0x815 });
        }
Beispiel #3
0
 public RepeatEosU4(KaitaiStream p__io, KaitaiStruct p__parent = null, RepeatEosU4 p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }