1 Star 0 Fork 319

NICE-CMS/AI培训学习-题库-考试-视频-直播

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UnitTest2.cs 893 Bytes
一键复制 编辑 原始数据 按行查看 历史
宋_微厦科技 提交于 2025-08-11 23:14 +08:00 . 修正细节
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace UnitTest
{
[TestClass]
public class UnitTest2
{
[TestMethod]
public void TestMethod1()
{
Dictionary<int, string> _areas = Song.ViewData.Helper.AreaCode.Areas;
int count = _areas.Count;
//省级单位
Dictionary<int, string> province = Song.ViewData.Helper.AreaCode.Provinces();
//城市
Dictionary<int, string> cities = Song.ViewData.Helper.AreaCode.Cities(130000);
Dictionary<int, string> districts = Song.ViewData.Helper.AreaCode.Districts(130100);
}
[TestMethod]
public void test2()
{
double randomMilliseconds = new Random((int)(WeiSha.Core.Request.SnowID() % int.MaxValue)).NextDouble();
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/nice-cms/LearningSystem.git
git@gitee.com:nice-cms/LearningSystem.git
nice-cms
LearningSystem
AI培训学习-题库-考试-视频-直播
master

搜索帮助