|
Replies:
2
-
Pages:
1
-
Last Post:
Mar 9, 2008 10:42 PM
by: wdevine
|
|
|
Posts:
8
Registered:
2/2/08
|
|
|
|
Listing 1.2 - The code for TestReturnsZeroWhenEmptyString()
Posted:
Feb 8, 2008 7:05 PM
|
|
I think the line: int result = p.ParseAndSum("1"); should be written: int result = p.ParseAndSum("");
Am I wrong ?!
|
|
Posts:
3
From:
Lake Mary, FL
Registered:
3/9/08
|
|
|
|
Re: Listing 1.2 - The code for TestReturnsZeroWhenEmptyString()
Posted:
Mar 9, 2008 10:38 PM
in response to:
powerboots
|
|
I was thinking the same thing.
|
|
Posts:
3
From:
Lake Mary, FL
Registered:
3/9/08
|
|
|
|
Legend
|
|
Gold: 300
+
pts
|
|
Silver: 100
- 299
pts
|
|
Bronze: 25
- 99
pts
|
|
Manning Author
|
|
Manning Staff
|
|
Manning Developmental Editor
|
|