@@ -46,12 +46,21 @@ public static void generateData() {
46
46
@ Test
47
47
public void personTest () {
48
48
testIdUniqueness (dir +"/person_0_0.csv" , 0 );
49
+ testStringLength (dir +"/person_0_0.csv" , 1 , 40 );
50
+ testStringLength (dir +"/person_0_0.csv" , 2 , 40 );
51
+ testStringLength (dir +"/person_0_0.csv" , 3 , 40 );
52
+ testStringLength (dir +"/person_0_0.csv" , 6 , 40 );
53
+ testStringLength (dir +"/person_0_0.csv" , 7 , 40 );
49
54
}
50
55
51
56
@ Test
52
57
public void postTest () {
53
58
testIdUniqueness (dir +"/post_0_0.csv" , 0 );
54
59
testLongBetween (dir +"/post_0_0.csv" ,7 ,0 ,2001 );
60
+ testStringLength (dir +"/post_0_0.csv" , 1 , 40 );
61
+ testStringLength (dir +"/post_0_0.csv" , 3 , 40 );
62
+ testStringLength (dir +"/post_0_0.csv" , 4 , 40 );
63
+ testStringLength (dir +"/post_0_0.csv" , 5 , 40 );
55
64
}
56
65
57
66
@ Test
@@ -64,6 +73,8 @@ public void forumTest() {
64
73
public void commentTest () {
65
74
testIdUniqueness (dir +"/comment_0_0.csv" , 0 );
66
75
testLongBetween (dir +"/comment_0_0.csv" ,5 ,0 ,2001 );
76
+ testStringLength (dir +"/comment_0_0.csv" , 2 , 40 );
77
+ testStringLength (dir +"/comment_0_0.csv" , 3 , 40 );
67
78
}
68
79
69
80
@ Test
0 commit comments