diff options
author | Justin Clarke Casey | 2008-02-08 18:18:56 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-08 18:18:56 +0000 |
commit | 24ac86931a79b3968c5c6c00f93bb92bf967ea75 (patch) | |
tree | fbc90f13b13a3e7024ab92f3238746da85f3ae62 /OpenSim/Tests/Common/TestHelper.cs | |
parent | * Made some terrain functions faster computationally. (diff) | |
download | opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.zip opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.gz opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.bz2 opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.xz |
update eol-style
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/TestHelper.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Tests/Common/TestHelper.cs b/OpenSim/Tests/Common/TestHelper.cs index f59c157..9dc6aa7 100644 --- a/OpenSim/Tests/Common/TestHelper.cs +++ b/OpenSim/Tests/Common/TestHelper.cs | |||
@@ -1,25 +1,25 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | namespace OpenSim.Tests.Common | 5 | namespace OpenSim.Tests.Common |
6 | { | 6 | { |
7 | public delegate void TestDelegate(); | 7 | public delegate void TestDelegate(); |
8 | 8 | ||
9 | public class TestHelper | 9 | public class TestHelper |
10 | { | 10 | { |
11 | public static bool AssertThisDelegateCausesArgumentException(TestDelegate d) | 11 | public static bool AssertThisDelegateCausesArgumentException(TestDelegate d) |
12 | { | 12 | { |
13 | try | 13 | try |
14 | { | 14 | { |
15 | d(); | 15 | d(); |
16 | } | 16 | } |
17 | catch(ArgumentException e) | 17 | catch(ArgumentException e) |
18 | { | 18 | { |
19 | return true; | 19 | return true; |
20 | } | 20 | } |
21 | 21 | ||
22 | return false; | 22 | return false; |
23 | } | 23 | } |
24 | } | 24 | } |
25 | } | 25 | } |