public void TestMapAtomType_String() { string mapping = "NCDK.Dict.Data.cdk-sybyl-mappings.owl"; AtomTypeMapper mapper = AtomTypeMapper.GetInstance(mapping); Assert.IsNotNull(mapper); Assert.AreEqual("C.3", mapper.MapAtomType("C.sp3")); }
public void TestGetInstance_String_InputStream() { AtomTypeMapper mapper = AtomTypeMapper.GetInstance( "NCDK.Dict.Data.cdk-sybyl-mappings.owl", ResourceLoader.GetAsStream("NCDK.Dict.Data.cdk-sybyl-mappings.owl")); Assert.IsNotNull(mapper); }
public void TestGetMapping() { string mapping = "NCDK.Dict.Data.cdk-sybyl-mappings.owl"; AtomTypeMapper mapper = AtomTypeMapper.GetInstance(mapping); Assert.IsNotNull(mapper); Assert.AreEqual(mapping, mapper.Name); }
public void TestGetInstance_String() { AtomTypeMapper mapper = AtomTypeMapper.GetInstance("NCDK.Dict.Data.cdk-sybyl-mappings.owl"); Assert.IsNotNull(mapper); }