mirror of https://github.com/icedland/iced.git
Verify that max value can be written to the prop
This commit is contained in:
parent
2b8f55a39e
commit
05dce7555d
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue