File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
descriptor/fingerprint/src/test/java/org/openscience/cdk/fingerprint Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -83,4 +83,14 @@ public void testGetCountFingerprint() throws Exception {
8383 public void testGetRawFingerprint () throws Exception {
8484 IFingerprinter printer = new AtomPairs2DFingerprinter ();
8585 }
86+
87+ @ Test
88+ public void testNullPointerExceptionInGetBitFingerprint () throws Exception {
89+ IFingerprinter printer = new AtomPairs2DFingerprinter ();
90+ IAtomContainer chlorobenzene ;
91+ chlorobenzene = parser .parseSmiles ("Clc1ccccc1" );
92+ BitSetFingerprint bsfp1 = (BitSetFingerprint ) printer .getBitFingerprint (chlorobenzene );
93+ chlorobenzene = parser .parseSmiles ("c1ccccc1Cl" );
94+ BitSetFingerprint bsfp2 = (BitSetFingerprint ) printer .getBitFingerprint (chlorobenzene );
95+ }
8696}
You can’t perform that action at this time.
0 commit comments