@@ -241,10 +241,14 @@ def test_construct_weight_matrix(tcwm):
241
241
ComponentSignal ([0 , .25 , .5 , .75 , 1 ], 2 , 2 )], [[- .5 , 1 ], [1.2 , - 1.3 ], [1.1 , - 1 ], [0 , - 1.5 ], [0 , .1 ]], None ),
242
242
([ComponentSignal ([0 , .25 , .5 , .75 , 1 ], 2 , 0 ), ComponentSignal ([0 , .25 , .5 , .75 , 1 ], 2 , 1 ),
243
243
ComponentSignal ([0 , .25 , .5 , .75 , 1 ], 2 , 2 )], [[- .5 , 1 ], [1.2 , - 1.3 ], [1.1 , - 1 ], [0 , - 1.5 ], [0 , .1 ]], "align" ),
244
+ # ([ComponentSignal([0, .25, .5, .75, 1], 0, 0), ComponentSignal([0, .25, .5, .75, 1], 0, 1),
245
+ # ComponentSignal([0, .25, .5, .75, 1], 0, 2)], [[1, 1], [1.2, 1.3], [1.3, 1.4], [1.4, 1.5], [2, 2.1]], None),
246
+ # ([ComponentSignal([0, .25, .5, .75, 1], 0, 0), ComponentSignal([0, .25, .5, .75, 1], 0, 1),
247
+ # ComponentSignal([0, .25, .5, .75, 1], 0, 2)], [], None),
248
+ # ([ComponentSignal([0, .25, .5, .75, 1], 2, 0), ComponentSignal([0, .25, .5, .75, 1], 2, 1),
249
+ # ComponentSignal([0, .25, .5, .75, 1], 2, 2)], [], 170),
244
250
]
245
251
@pytest .mark .parametrize ('tuw' , tuw )
246
252
def test_update_weights (tuw ):
247
- for component in tuw [0 ]:
248
- print (component .weights )
249
253
actual = update_weights (tuw [0 ], tuw [1 ], tuw [2 ])
250
254
assert np .shape (actual ) == (len (tuw [0 ]), len (tuw [0 ][0 ].weights ))
0 commit comments