You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
604 B
C#
34 lines
604 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using RedisStuy;
|
|
|
|
using StackExchange.Redis;
|
|
|
|
using Xunit;
|
|
|
|
namespace RedisStudyTest
|
|
{
|
|
public class RedisStudyTest
|
|
{
|
|
private RedisServerStudy _redisServerStudy;
|
|
|
|
public RedisStudyTest()
|
|
{
|
|
_redisServerStudy = new RedisServerStudy();
|
|
}
|
|
|
|
[Fact]
|
|
public void Test()
|
|
{
|
|
var info = _redisServerStudy.RedisInfo();
|
|
|
|
Assert.NotEmpty(info);
|
|
Assert.True(info.Any());
|
|
}
|
|
}
|
|
}
|