Skip to content

Commit

Permalink
Add KF into test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
acse-jm122 committed Jan 12, 2025
1 parent 7a98ea7 commit a7a57f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_deepda.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def executor(torchda):


def test_algorithms(algorithms):
assert algorithms.KF in algorithms
assert algorithms.EnKF in algorithms
assert algorithms.Var3D in algorithms
assert algorithms.Var4D in algorithms
Expand Down Expand Up @@ -114,9 +115,11 @@ def test_case_set_parameter(case):


def test_case_set_algorithm(case, algorithms):
assert case.set_algorithm(algorithms.KF)
assert case.set_algorithm(algorithms.EnKF)
assert case.set_algorithm(algorithms.Var3D)
assert case.set_algorithm(algorithms.Var4D)
assert case.set_parameter("algorithm", algorithms.KF)
assert case.set_parameter("algorithm", algorithms.EnKF)
assert case.set_parameter("algorithm", algorithms.Var3D)
assert case.set_parameter("algorithm", algorithms.Var4D)
Expand Down

0 comments on commit a7a57f2

Please sign in to comment.