35 lines
701 B
C#
35 lines
701 B
C#
using System;
|
|
using BS.SharedLauncher.Information;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace UnitTestProject45
|
|
{
|
|
[TestClass]
|
|
public class UnitTest1
|
|
{
|
|
[TestMethod]
|
|
public void TestLoginLength()
|
|
{
|
|
var login = new Login();
|
|
|
|
Assert.AreEqual(login.Length, 7);
|
|
}
|
|
|
|
[TestMethod]
|
|
public void TestConnectionLength()
|
|
{
|
|
var conn = new Connection();
|
|
|
|
Assert.AreEqual(conn.Length, 8);
|
|
}
|
|
|
|
[TestMethod]
|
|
public void TestSessionLength()
|
|
{
|
|
var session = new Session();
|
|
|
|
Assert.AreEqual(session.Length, 1);
|
|
}
|
|
}
|
|
}
|