[Returnanalytics-commits] r3722 - pkg/Dowd/tests/testthat
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jun 23 22:01:13 CEST 2015
Author: dacharya
Date: 2015-06-23 22:01:13 +0200 (Tue, 23 Jun 2015)
New Revision: 3722
Modified:
pkg/Dowd/tests/testthat/testJarqueBeraBacktest.R
Log:
One more test case added/modified.
Modified: pkg/Dowd/tests/testthat/testJarqueBeraBacktest.R
===================================================================
--- pkg/Dowd/tests/testthat/testJarqueBeraBacktest.R 2015-06-23 19:53:56 UTC (rev 3721)
+++ pkg/Dowd/tests/testthat/testJarqueBeraBacktest.R 2015-06-23 20:01:13 UTC (rev 3722)
@@ -1,5 +1,6 @@
-test_that("Binomial Backtest Works.",{
+test_that("JarqueBera Backtest.",{
# Success
- expect_equal(0.6942, JarqueBeraBacktest(-0.0758, 2.8888, 500), tolerance=0.01)
+ expect_equal(0.6940, JarqueBeraBacktest(-0.0758, 2.8888, 500), tolerance=0.01)
expect_equal(1, JarqueBeraBacktest(0, 3, 100), tolerance=0.01)
+
})
\ No newline at end of file
More information about the Returnanalytics-commits
mailing list