You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
511 B

using OT.COM.LogisticsUtil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace TestUnit.OT.COM.LogisticsUtil
{
public class Test_ValidatorHelper
{
[Theory]
[InlineData("abc@gmail.com", true)]
[InlineData("a", false)]
public void IsValidEmail(string i_sTest, bool i_bResult)
{
Assert.True(ValidatorHelper.IsValidEmail(i_sTest) == i_bResult);
}
}
}