use sicada::algorithms::compose::compose;
use sicada::algorithms::determinize::{DeterminizeOptions, determinize};
use sicada::algorithms::epsnormalize::{EpsNormalizeType, eps_normalize};
use sicada::algorithms::factor_weight::{
FactorIterator as _, FactorWeightOptions, GallicFactor, factor_weight,
};
use sicada::algorithms::minimize::minimize;
use sicada::algorithms::push::push_weights_to_initial;
use sicada::algorithms::shortest_path::{ShortestPathOptions, shortest_path};
use sicada::arc::{GallicArc, StdArc};
use sicada::fsts::vector_fst::VectorFst;
use sicada::weights::string_weight::GallicRight;
#[test]
fn no_call_site_names_a_type() {
let fst: VectorFst<StdArc> = VectorFst::new();
let other = VectorFst::new();
let mut out = VectorFst::new();
compose(&fst, &other, &mut out).unwrap();
determinize(&fst, &mut out, &DeterminizeOptions::default()).unwrap();
minimize(&mut out, 1e-6, false).unwrap();
shortest_path(&fst, &mut out, &ShortestPathOptions::default()).unwrap();
push_weights_to_initial(&mut out, 1e-6, false).unwrap();
let gfst: VectorFst<GallicArc<StdArc, GallicRight>> = VectorFst::new();
let mut gout = VectorFst::new();
factor_weight(
&gfst,
&mut gout,
GallicFactor::new,
&FactorWeightOptions::default(),
);
let mut eout = VectorFst::new();
eps_normalize(&fst, &mut eout, EpsNormalizeType::Input, GallicRight).unwrap();
}