public void UVPNullAttributesTest() { UVP <TEL> uvp = new UVP <TEL>(); uvp.Value = null; uvp.Probability = null; Assert.IsFalse(uvp.Validate()); }
public void UVPValueProbabilityTest1() { UVP <TEL> uvp = new UVP <TEL>(); uvp.Value = "HOLA"; uvp.Probability = (decimal)0.50; Assert.IsTrue(uvp.Validate()); }
public void UVPProbatilityTest() { UVP <TEL> uvp = new UVP <TEL>(); uvp.Value = null; uvp.Probability = (decimal)0.50; Assert.IsFalse(uvp.Validate()); }
public void UVPValueTest() { UVP <TEL> uvp = new UVP <TEL>(); uvp.Value = "HOLA"; uvp.Probability = null; Assert.IsFalse(uvp.Validate()); }
public void UVPValueWrongProbabilityTest4() { string p1 = "HOLA"; double p2 = -0.01; UVP <TEL> uvp = new UVP <TEL>(p1, (Decimal)p2); Assert.IsFalse(uvp.Validate()); }
public void UVPValueWrongProbabilityTest3() { UVP <TEL> uvp = new UVP <TEL>(); uvp.Value = "HOLA"; uvp.Probability = (decimal) - 0.01; Assert.IsFalse(uvp.Validate()); }
public void UVPValueProbabilityTest2() { string p1 = "HOLA"; double p2 = 0.50; UVP <TEL> uvp = new UVP <TEL>((TEL)p1, (decimal)p2); Assert.IsTrue(uvp.Validate()); }
public void UVPValueProbabilityTest1() { UVP<TEL> uvp = new UVP<TEL>(); uvp.Value = "HOLA"; uvp.Probability = (decimal)0.50; Assert.IsTrue(uvp.Validate()); }
public void UVPNullAttributesTest() { UVP<TEL> uvp = new UVP<TEL>(); uvp.Value = null; uvp.Probability = null; Assert.IsFalse(uvp.Validate()); }
public void UVPProbatilityTest() { UVP<TEL> uvp = new UVP<TEL>(); uvp.Value = null; uvp.Probability = (decimal)0.50; Assert.IsFalse(uvp.Validate()); }
public void UVPValueTest() { UVP<TEL> uvp = new UVP<TEL>(); uvp.Value = "HOLA"; uvp.Probability = null; Assert.IsFalse(uvp.Validate()); }
public void UVPValueWrongProbabilityTest4() { string p1 = "HOLA"; double p2 = -0.01; UVP<TEL> uvp = new UVP<TEL>(p1, (Decimal)p2); Assert.IsFalse(uvp.Validate()); }
public void UVPValueWrongProbabilityTest3() { UVP<TEL> uvp = new UVP<TEL>(); uvp.Value = "HOLA"; uvp.Probability = (decimal)-0.01; Assert.IsFalse(uvp.Validate()); }
public void UVPValueProbabilityTest2() { string p1 = "HOLA"; double p2 = 0.50; UVP<TEL> uvp = new UVP<TEL>((TEL)p1,(decimal)p2); Assert.IsTrue(uvp.Validate()); }