Skip to content

Commit

Permalink
test weighted_prox
Browse files Browse the repository at this point in the history
  • Loading branch information
himkwtn committed Sep 5, 2024
1 parent 8a2afeb commit a513d76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def test_get_weighted_prox_and_regularization_bad_shape(regularization, lam):
("l0", 1, np.array([[2]])),
("l1", 0.5, np.array([[1.5]])),
("l2", 0.5, np.array([[1]])),
("weighted_l0", np.array([[1]]), np.array([[2]])),
("weighted_l1", np.array([[0.5]]), np.array([[1.5]])),
("weighted_l2", np.array([[0.5]]), np.array([[1]])),
],
)
def test_get_prox(regularization, lam, expected):
Expand Down

0 comments on commit a513d76

Please sign in to comment.