clearer logic
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
325b3bb30d
commit
fbb86120b2
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using IRCStates;
|
using IRCStates;
|
||||||
|
|
|
@ -97,16 +97,16 @@ public class Channel
|
||||||
public void QuitSelf()
|
public void QuitSelf()
|
||||||
{
|
{
|
||||||
_server.Parse(new("QUIT :i'm outta here"));
|
_server.Parse(new("QUIT :i'm outta here"));
|
||||||
Assert.IsFalse(_server.Users.Count != 0);
|
Assert.AreEqual(0, _server.Users.Count);
|
||||||
Assert.IsFalse(_server.Channels.Count != 0);
|
Assert.AreEqual(0, _server.Channels.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void QuitSelfWithSource()
|
public void QuitSelfWithSource()
|
||||||
{
|
{
|
||||||
_server.Parse(new(":nickname QUIT :i'm outta here"));
|
_server.Parse(new(":nickname QUIT :i'm outta here"));
|
||||||
Assert.IsFalse(_server.Users.Count != 0);
|
Assert.AreEqual(0, _server.Users.Count);
|
||||||
Assert.IsFalse(_server.Channels.Count != 0);
|
Assert.AreEqual(0, _server.Channels.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
|
|
Loading…
Reference in New Issue