public void ShouldReadtIME() { string filePath = @"../../../Data/przekladnia.png"; tIME time = new tIME(PNGFile.Read(filePath)[2]); Assert.AreEqual("tIME", time.Type); }
public void ShouldContainCorrectDate() { string filePath = @"../../../Data/przekladnia.png"; tIME time = new tIME(PNGFile.Read(filePath)[2]); Assert.AreEqual(2009, time.LatestModificationDate.Year); Assert.AreEqual(7, time.LatestModificationDate.Month); Assert.AreEqual(24, time.LatestModificationDate.Day); }