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.
downkyi/DownKyi.Core.Test/Database/BinaryTest.cs

31 lines
855 B

using DownKyi.Core.BiliApi.VideoStream;
using DownKyi.Core.Storage.Database.Download;
using DownKyi.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DownKyi.Core.Test.Database
{
[TestClass]
public class BinaryTest
{
[TestMethod]
public void TestMethod1()
{
Downloading downloading = new Downloading
{
Gid = "gid",
PlayStreamType = PlayStreamType.VIDEO,
DownloadContent = "视频",
DownloadStatusTitle = "下载中",
Progress = 50,
DownloadingFileSize = "60MB/120MB",
MaxSpeed = 123456,
SpeedDisplay = "5MB/s",
};
DownloadingDb db = new DownloadingDb();
db.Insert("testId", downloading);
}
}
}