質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,10 +20,10 @@
|
|
20
20
|
|
21
21
|
def test_make_params():
|
22
22
|
graph_id = 'Test'
|
23
|
-
|
23
|
+
ability = ["Z1", "Z2", "Z3", "A1", "A2", "A3", "B1",
|
24
|
-
"B2", "B3", "C1", "C2", "C3", "
|
24
|
+
"B2", "B3", "C1", "C2", "C3", "DD1", "DD2", "DD3"]
|
25
25
|
|
26
|
-
lists = [['Question'+str(random.randint(1, 10)), random.choice(
|
26
|
+
lists = [['Question'+str(random.randint(1, 10)), random.choice(ability),
|
27
27
|
random.randint(0, 1)] for j in range(100)]
|
28
28
|
two_arrays = np.array(lists)
|
29
29
|
> assert len(make_params(graph_id, two_arrays)) == 10
|