36 lines
803 B
C#
36 lines
803 B
C#
using System;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using Epost.BLL;
|
|
using Epost.Model;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Epost.DAL.Cache;
|
|
using Epost.Common;
|
|
using System.Web.Helpers;
|
|
using System.Data;
|
|
using System.Configuration;
|
|
using System.Text.RegularExpressions;
|
|
|
|
namespace Epost.TestToolsWeb.Tests.Controllers
|
|
{
|
|
[TestClass]
|
|
public class UnitTest1
|
|
{
|
|
OrderBLL bll = new OrderBLL();
|
|
[TestMethod]
|
|
public void d()
|
|
{
|
|
string showmes = "211100|总|938275908324|93875|934725";
|
|
if (!Regex.IsMatch(showmes, @"[\u4e00-\u9fa5]"))
|
|
{
|
|
|
|
|
|
}
|
|
else {
|
|
LogHelper.WriteLogInfo("dasf");
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|