Verify that max value can be written to the prop

This commit is contained in:
de4dot 2019-02-26 21:44:26 +01:00
parent 2b8f55a39e
commit 05dce7555d
1 changed files with 2 additions and 0 deletions

View File

@ -496,6 +496,8 @@ namespace Iced.UnitTests.Intel.InstructionTests {
Assert.Equal(1, instr.DeclareDataCount);
instr.DeclareDataCount = 15;
Assert.Equal(15, instr.DeclareDataCount);
instr.DeclareDataCount = 16;
Assert.Equal(16, instr.DeclareDataCount);
}
static T[] GetEnumValues<T>() => (T[])Enum.GetValues(typeof(T));