def test_schott_glass_sf6ht(self): sf6ht = s.SchottGlass('SF6HT') self.assertIsNotNone(sf6ht.gindex) self.assertEqual(sf6ht.name(), 'SF6HT') self.compare_indices(sf6ht)
def test_schott_glass_nbk7(self): nbk7 = s.SchottGlass('N-BK7') self.assertIsNotNone(nbk7.gindex) self.assertEqual(nbk7.name(), 'N-BK7') self.compare_indices(nbk7)
def test_schott_glass_f2(self): f2 = s.SchottGlass('F2') self.assertIsNotNone(f2.gindex) self.assertEqual(f2.name(), 'F2') self.compare_indices(f2)
def test_schott_glass_sf6ht(self): sf6ht = s.SchottGlass('SF6HT') self.assertIsNotNone(sf6ht.gindex) self.assertEqual(sf6ht.name(), 'SF6HT') compare_indices(self, sf6ht, SchottTestCase.catalog, tol=5e-6)
def test_schott_glass_nbk7(self): nbk7 = s.SchottGlass('N-BK7') self.assertIsNotNone(nbk7.gindex) self.assertEqual(nbk7.name(), 'N-BK7') compare_indices(self, nbk7, SchottTestCase.catalog, tol=5e-6)
def test_schott_glass_f2(self): f2 = s.SchottGlass('F2') self.assertIsNotNone(f2.gindex) self.assertEqual(f2.name(), 'F2') compare_indices(self, f2, SchottTestCase.catalog, tol=5e-6)