From 2b463d7a8a519eeccf6fbb353cf34fc199cbe902 Mon Sep 17 00:00:00 2001 From: Mikkel Meyer Andersen Date: Mon, 21 Mar 2011 22:19:49 +0000 Subject: [PATCH] MATH-437 Converted R-script used for generating JUnit test-cases to JUnit 4. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1083995 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/R/KolmogorovSmirnovDistributionTestCases.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/R/KolmogorovSmirnovDistributionTestCases.R b/src/test/R/KolmogorovSmirnovDistributionTestCases.R index 63f19bbe0..800e16bb6 100644 --- a/src/test/R/KolmogorovSmirnovDistributionTestCases.R +++ b/src/test/R/KolmogorovSmirnovDistributionTestCases.R @@ -12,8 +12,8 @@ for (n in ns) { cat(" */\n") cat("dist = new KolmogorovSmirnovDistributionImpl(", n, ");\n", sep = "") - #cat("assertEquals(", formatC(res, digits = 40), ", dist.cdf(", p, ", true), TOLERANCE);\n", sep = "") - cat("assertEquals(", formatC(res, digits = 40), ", dist.cdf(", p, ", false), TOLERANCE);\n", sep = "") + #cat("Assert.assertEquals(", formatC(res, digits = 40), ", dist.cdf(", p, ", true), TOLERANCE);\n", sep = "") + cat("Assert.assertEquals(", formatC(res, digits = 40), ", dist.cdf(", p, ", false), TOLERANCE);\n", sep = "") cat("\n") #cat("System.out.println(\"", formatC(res, digits = 20), " - \" + dist.cdf(", p, ", false) + \" = \" + (", res, " - dist.cdf(", p, ", false)));\n", sep = "")