-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now describes the settings of the Mapper object clearly
- Loading branch information
1 parent
296f416
commit 0ee923f
Showing
2 changed files
with
18 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
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 @@ | ||
from lomap import LomapAtomMapper | ||
|
||
|
||
def test_repr(): | ||
m = LomapAtomMapper() | ||
|
||
assert repr(m) == ("<LomapAtomMapper (time=20, threed=True, max3d=1000.0, " | ||
"element_change=True, seed='', shift=True)>") | ||
|
||
m = LomapAtomMapper(time=15, seed='c1ccccc1') | ||
|
||
assert repr(m) == ("<LomapAtomMapper (time=15, threed=True, max3d=1000.0, " | ||
"element_change=True, seed='c1ccccc1', shift=True)>") |