public void ValueAsDefined() { const int constantValue = 999; var element = new ConstValueAttribute(constantValue, new AttributeDefinition()); Assert.That(element.Value, Is.EqualTo(constantValue)); }
public void AggregateTypeIsRaw() { var element = new ConstValueAttribute(999, new AttributeDefinition()); Assert.That(element.AggregateType, Is.EqualTo(AggregateType.AddRaw)); }