Add Wox.CrashReporter

This commit is contained in:
qianlifeng
2015-01-11 21:52:30 +08:00
parent f20b4d570e
commit 5be6511529
33 changed files with 770 additions and 342 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wox.Core.Version;
namespace Wox.Test
{
[TestFixture]
public class SemanticVersionTest
{
[Test]
public void CompareTest()
{
SemanticVersion v1 = new SemanticVersion(1, 1, 0);
SemanticVersion v2 = new SemanticVersion(1, 2, 0);
SemanticVersion v3 = new SemanticVersion(1, 1, 0);
SemanticVersion v4 = new SemanticVersion("1.1.0");
Assert.IsTrue(v1 < v2);
Assert.IsTrue(v2 > v1);
Assert.IsTrue(v1 == v3);
Assert.IsTrue(v1.Equals(v3));
Assert.IsTrue(v1 == v4);
}
}
}