summaryrefslogtreecommitdiffstats
path: root/Tests/JCTest/TestTime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/JCTest/TestTime.cxx')
-rw-r--r--Tests/JCTest/TestTime.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/JCTest/TestTime.cxx b/Tests/JCTest/TestTime.cxx
new file mode 100644
index 0000000..5768ab5
--- /dev/null
+++ b/Tests/JCTest/TestTime.cxx
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int ac, char** av)
+{
+ float d = 10.0;
+ for(int i =0; i < atoi(av[1]); i++)
+ {
+ d *= .2;
+ }
+ printf("%f", d);
+}