[amx-netlinx-common] r34 committed - - Removed contents of svn $Id string that was left after copying heade...

1 view
Skip to first unread message

amx-netli...@googlecode.com

unread,
May 25, 2010, 2:09:44 AM5/25/10
to netlinx-comm...@googlegroups.com
Revision: 34
Author: kim.john.burgess
Date: Mon May 24 23:08:29 2010
Log: - Removed contents of svn $Id string that was left after copying
header templates between files to allow correct $Id to be populated
http://code.google.com/p/amx-netlinx-common/source/detail?r=34

Modified:
/trunk/test/test_math.axi
/trunk/test_utils.axi

=======================================
--- /trunk/test/test_math.axi Mon May 24 22:55:23 2010
+++ /trunk/test/test_math.axi Mon May 24 23:08:29 2010
@@ -19,7 +19,7 @@
* Contributor(s):
* Kim Burgess <kim.b...@justice.qld.gov.au>
*
- * $Id: Math.axi 23 2010-05-12 16:29:43Z trueamx $
+ * $Id: $
* tab-width: 4 columns: 80
*/

@@ -40,7 +40,7 @@


/**
- * Test functionality and execution speed of the math_is_whole_number()
+ * Test functionality and execution speed of the math_is_whole_number()
* function.
*
* @return a boolean reflecting success
@@ -64,14 +64,14 @@
math_is_whole_number(test_data[i])
}
test_timer_stop(TEST_MATH_ITERATIONS)
-
+

// Check special cases
test_check(math_is_whole_number(-1) == true, 'breaks on negative input')
test_check(math_is_whole_number(-1.5) == false, 'breaks on negative
input')
test_check(math_is_whole_number(0) == true, 'breaks with 0 input')
test_check(math_is_whole_number(MATH_NaN) == false, 'breaks with NaN')
- test_check(math_is_whole_number(MATH_NEGATIVE_INFINITY) == true,
+ test_check(math_is_whole_number(MATH_NEGATIVE_INFINITY) == true,
'breaks with -inf')
test_check(math_is_whole_number(MATH_POSITIVE_INFINITY) == true,
'breaks with +inf')
@@ -98,7 +98,7 @@
res[i] = random()
}
test_timer_stop(TEST_MATH_ITERATIONS)
-
+

// Check for correct functionality
for (i = TEST_MATH_ITERATIONS; i; i--) {
=======================================
--- /trunk/test_utils.axi Mon May 24 22:55:23 2010
+++ /trunk/test_utils.axi Mon May 24 23:08:29 2010
@@ -19,7 +19,7 @@
* Kim Burgess <kim.b...@justice.qld.gov.au>
*
*
- * $Id: Math.axi 23 2010-05-12 16:29:43Z trueamx $
+ * $Id: $
* tab-width: 4 columns: 80
*/

@@ -115,7 +115,7 @@
ncl_test.stats = ""
println("'Running test: ', name")
} else {
- println("'Error starting ', name, ' test. ', ncl_test.name,
+ println("'Error starting ', name, ' test. ', ncl_test.name,
' already running.'")
}
}
@@ -141,7 +141,7 @@
{
stack_var char tmp[256]

- println("' ', itoa(ncl_test.num_passed), ' of ',
+ println("' ', itoa(ncl_test.num_passed), ' of ',
itoa(ncl_test.num_tests), ' tests passed'")
while (ncl_test.stats <> "") {
tmp = remove_string(ncl_test.stats, "$0D, $0A", 1)
Reply all
Reply to author
Forward
0 new messages