Skip to content

Commit

Permalink
Updated test_attacks.py with the newly added Adversarial Library backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Scionis committed May 10, 2024
1 parent f9a3aac commit d6ed58b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/secmlt/tests/test_attacks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
from secmlt.adv.evasion.advlib_attacks.advlib_pgd import PGDAdvLib
from secmlt.adv.evasion.base_evasion_attack import BaseEvasionAttack
from secmlt.adv.evasion.foolbox_attacks.foolbox_pgd import PGDFoolbox
from secmlt.adv.evasion.perturbation_models import LpPerturbationModels
Expand All @@ -24,6 +25,10 @@
"foolbox",
PGDFoolbox.get_perturbation_models(),
),
(
"advlib",
PGDAdvLib.get_perturbation_models(),
),
(
"native",
PGDNative.get_perturbation_models(),
Expand Down

0 comments on commit d6ed58b

Please sign in to comment.