From 05dce7555d6baab124d584218ce979c6f968e60a Mon Sep 17 00:00:00 2001 From: de4dot Date: Tue, 26 Feb 2019 21:44:26 +0100 Subject: [PATCH] Verify that max value can be written to the prop --- Iced.UnitTests/Intel/InstructionTests/InstructionTests_Misc.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Iced.UnitTests/Intel/InstructionTests/InstructionTests_Misc.cs b/Iced.UnitTests/Intel/InstructionTests/InstructionTests_Misc.cs index 9ab7fca7f..2142cb649 100644 --- a/Iced.UnitTests/Intel/InstructionTests/InstructionTests_Misc.cs +++ b/Iced.UnitTests/Intel/InstructionTests/InstructionTests_Misc.cs @@ -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[])Enum.GetValues(typeof(T));