-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c93176
commit 5d563ca
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# test_coreset_sc.py | ||
|
||
|
||
def test_sum_as_string(): | ||
"""Test the sum_as_string function from the coreset_sc module.""" | ||
# Import the Rust-based module | ||
import coreset_sc | ||
|
||
# Call the function | ||
result = coreset_sc.sum_as_string(3, 4) | ||
|
||
# Assert that the result is the expected string | ||
assert result == "7", f"Expected '7' but got {result}" |