コード例 #1
0
        public void TestAddStereo0D()
        {
            NInchiStructure structure = new NInchiStructure();

            Assert.AreEqual(0, structure.Stereos.Count);
            structure.Stereos.Add(TestNInchiStereo0D.GetTestStereo0D());
            Assert.AreEqual(1, structure.Stereos.Count);
        }
コード例 #2
0
        public void TestGetStereo0D()
        {
            NInchiStructure structure = new NInchiStructure();
            NInchiStereo0D  stereo    = TestNInchiStereo0D.GetTestStereo0D();

            structure.Stereos.Add(stereo);
            Assert.AreEqual(stereo, structure.Stereos[0]);
        }