Lines Matching refs:G
62 template <class G>
63 void TestBase(const G &fst) const { in TestBase()
67 StateIterator<G> siter(fst); in TestBase()
68 Matcher<G> matcher(fst, MATCH_INPUT); in TestBase()
76 ArcIterator<G> aiter(fst, s); in TestBase()
110 template <class G>
111 void TestExpanded(const G &fst) const { in TestExpanded()
113 for (StateIterator<G> siter(fst); in TestExpanded()
125 template <class G>
126 void TestMutable(G *fst) const { in TestMutable()
127 for (StateIterator<G> siter(*fst); in TestMutable()
133 MutableArcIterator<G> aiter(fst, s); in TestMutable()
149 G *cfst1 = fst->Copy(); in TestMutable()
154 G *cfst2 = fst->Copy(); in TestMutable()
155 for (StateIterator<G> siter(*cfst2); in TestMutable()
170 template <class G>
171 void TestAssign(G *fst) const { in TestAssign()
173 G afst1; in TestAssign()
178 G afst2; in TestAssign()
190 template <class G>
191 void TestCopy(const G &fst) const { in TestCopy()
193 G c1fst(fst); in TestCopy()
197 const G c2fst(static_cast<const Fst<Arc> &>(fst)); in TestCopy()
201 const G *c3fst = fst.Copy(); in TestCopy()
209 template <class G>
210 void TestIO(const G &fst) const { in TestIO()
216 G *ffst = G::Read(filename); in TestIO()
226 G *dfst = static_cast<G *>(gfst); in TestIO()
251 G *gfst = G::Read(istr, opts); in TestIO()
270 G *gfst = G::Read(istr, opts); in TestIO()