33 lines
742 B
C#
33 lines
742 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;
|
|
|
|
namespace Epost.TestToolsWeb.Tests.Controllers
|
|
{
|
|
[TestClass]
|
|
public class UnitTest1
|
|
{
|
|
OrderBLL bll = new OrderBLL();
|
|
[TestMethod]
|
|
public void d()
|
|
{
|
|
string sku = "211100";
|
|
if (sku.Substring(0, 1) == "2" && sku.Substring(1, 1) != "5")
|
|
{
|
|
if (sku.Length >= 7)
|
|
{
|
|
sku = sku.Substring(1, 6);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|