public static void TestInteger16ConstructorBasicArguments() { const Dhgms.Nucleotide.Model.Info.CollectionType CollectionType = Dhgms.Nucleotide.Model.Info.CollectionType.GenericLinkedList; const string Name = "Name"; const string Description = "Description"; const bool Optional = false; Integer16 instance = new Integer16( CollectionType, Name, Description, Optional, null, null, true, null); Assert.Equal(CollectionType, instance.Collection); Assert.Equal(Name, instance.Name); Assert.Equal(Description, instance.Description); Assert.Equal(Optional, instance.Optional); }
public static void TestInteger16GetMutatorMinNull() { const Dhgms.Nucleotide.Model.Info.CollectionType CollectionType = Dhgms.Nucleotide.Model.Info.CollectionType.GenericLinkedList; const string Name = "Name"; const string Description = "Description"; const bool Optional = false; Integer16 instance = new Integer16( CollectionType, Name, Description, Optional, null, 255, true, null); Console.Write(instance.GetMutator()); }
public void Visit(Integer16 value) { value.TypedValue = mBitsReader.ReadInt16(value.BitsCount); }