My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Hef.TopCoder.Srm145.Div2
{
[TestClass]
public class ExerciseMachineTest : ExerciseMachine
{
[TestMethod]
public void TestExample0()
{
Assert.AreEqual<int>(99, this.getPercentages("00:30:00"));
}

[TestMethod]
public void TestExample1()
{
Assert.AreEqual<int>(19, this.getPercentages("00:28:00"));
}

[TestMethod]
public void TestExample2()
{
Assert.AreEqual<int>(0, this.getPercentages("23:59:59"));
}

[TestMethod]
public void TestExample3()
{
Assert.AreEqual<int>(49, this.getPercentages("00:14:10"));
}

[TestMethod]
public void TestExample4()
{
Assert.AreEqual<int>(3, this.getPercentages("00:19:16"));
}
}
}

Change log

r5 by jonathan.hefner on Jun 22, 2008   Diff
Sync
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 837 bytes, 39 lines
Powered by Google Project Hosting