Skip to content

Commit

Permalink
fix: tests were wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
jagalindo committed Jul 29, 2024
1 parent ba63094 commit 95d610f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/test_basic_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from flamapy.interfaces.python.flamapy_feature_model import FLAMAFeatureModel

VALID_MODEL = "./resources/models/simple/valid_model.uvl"
NON_VALID_MODEL = "./resources/models/simple/invalid_model.uvl"

VALID_CONFIG = "./resources/configurations/valid_configuration.csvconf"
def test_atomic_sets():
Expand Down Expand Up @@ -108,15 +107,6 @@ def test_dead_features():
# Assert
assert sorted(result) == sorted([])

def test_error_detection():
# Prepare
flamafm=FLAMAFeatureModel(NON_VALID_MODEL)

# Act
result = flamafm.error_detection()

# Assert
assert len(result) == 3

def test_false_optional_features():
# Prepare
Expand Down Expand Up @@ -166,7 +156,7 @@ def test_commonality():
result = flamafm.commonality(VALID_CONFIG)

# Assert
assert 0.0 == result
assert 1.0 == result

def test_valid_configuration():
# Prepare
Expand Down

0 comments on commit 95d610f

Please sign in to comment.