blob: ed633d7b810f3f308351862e66e49f5d9503319f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package pl.edu.mimuw.cloudatlas.model;
public class TestUtil {
public static boolean valueLower(Value a, Value b) {
return ((ValueBoolean) a.isLowerThan(b)).getValue();
}
public static <T> int iterableSize(Iterable<T> iterable) {
int count = 0;
for (T attribute : iterable) {
count++;
}
return count;
}
}
|