public void GetVersion() { var actual = _sut.GetAssemblyVersionByContainedType <Assert>(); var expected = new Version(2, 6, 4, 14350); Assert.AreEqual(expected, actual); }
public void GetVersion() { var actual = _sut.GetAssemblyVersionByContainedType <KaVEVersionUtil>(); var expected = new Version(0, 0, 0, 0); Assert.AreEqual(expected, actual); }
public void GetVersion() { var actual = _sut.GetAssemblyVersionByContainedType <KaVEVersionUtil>(); Assert.AreEqual(0, actual.Major); Assert.AreEqual(0, actual.Minor); Assert.AreNotEqual(0, actual.Build); Assert.AreEqual(0, actual.Revision); }