[timecode] - remove irrelevant method in TimeCode.cs

This commit is contained in:
Ivandro Ismael 2017-04-30 04:21:00 +01:00
parent a080f66098
commit 143393ba95
2 changed files with 0 additions and 14 deletions

View File

@ -172,11 +172,6 @@ namespace Nikse.SubtitleEdit.Core
_totalMilliseconds += timeSpan.TotalMilliseconds;
}
public void AddTime(double milliseconds)
{
_totalMilliseconds += milliseconds;
}
public override string ToString()
{
return ToString(false);

View File

@ -61,15 +61,6 @@ namespace Test.Logic
Assert.AreEqual(tc.TotalMilliseconds, 2000);
}
[TestMethod]
public void TimeCodeAddTime7()
{
var tc = new TimeCode(1000);
tc.AddTime(1000.0);
Assert.AreEqual(tc.TotalMilliseconds, 2000);
}
[TestMethod]
public void TimeCodeDaysTest()
{