public void ReturnsFalseForNotMovedField() { var notMovedProperty = DBCInspector.GetRecordProperties(typeof(TestDBCRecordWithSingleMovedField)) .First(p => p.Name == nameof(TestDBCRecordWithSingleMovedField.FieldA)); Assert.IsFalse(DBCInspector.HasPropertyMovedInVersion(WarcraftVersion.BurningCrusade, notMovedProperty)); }
public void ReturnsFalseForMovedFieldButNotInTheSpecifiedVersion() { var movedProperty = DBCInspector.GetRecordProperties(typeof(TestDBCRecordWithSingleMovedField)) .First(p => p.Name == nameof(TestDBCRecordWithSingleMovedField.FieldC)); Assert.IsFalse(DBCInspector.HasPropertyMovedInVersion(WarcraftVersion.Classic, movedProperty)); }