Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some fixes in example code and Sonar project sample report links

  • Loading branch information...
commit 4568ef393a1e324356960966136a647545a61e88 1 parent 45ecf09
@rlegendi authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 20-testing/20-testing.md
View
5 20-testing/20-testing.md
@@ -57,14 +57,14 @@ A tesztelendő osztály:
``` java
public class Utils {
- public static void sum(int[] arr) {
+ public static int sum(int[] arr) {
if (null == arr) {
throw new IllegalArgumentException("arr == null");
}
int sum = 0;
for (int i : arr) {
- sum += arr;
+ sum += i;
}
return sum;
@@ -270,6 +270,7 @@ public interface Stack<E> {
* Mindenféle statisztikák - a *trend* miatt fontos.
* Összekötve a CI rendszerrel
* Mutatja a tesztelésre szoruló részeket
+* [Tonnányi projecthez példa](http://nemo.sonarsource.org/)
#### Acceptance tesztek ####
Please sign in to comment.
Something went wrong with that request. Please try again.