mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2025-01-31 13:01:39 +01:00
[timecode] - remove irrelevant method in TimeCode.cs
This commit is contained in:
parent
a080f66098
commit
143393ba95
@ -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);
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user