public void Import_Zero() { byte[] bytes = new byte[4]; FormID id = FormID.Factory(bytes); Assert.Equal(0, id.ModIndex.ID); Assert.Equal(uint.MinValue, id.ID); }
public void Import_Typical() { byte[] bytes = new byte[4] { 216, 203, 0, 5, }; FormID id = FormID.Factory(bytes); Assert.Equal(5, id.ModIndex.ID); Assert.Equal((uint)0xCBD8, id.ID); }
public FormID ParseFormID0x() { return(FormID.Factory(IDString0x)); }
public FormID ParseFormID() { return(FormID.Factory(IDString)); }