use super::root_field;
#[test]
fn a_root_field_is_the_published_type_with_a_lower_initial() {
assert_eq!(root_field("Reel"), "reel");
assert_eq!(root_field("VideoTrack"), "videoTrack");
assert_eq!(root_field(&crate::plural::of("VideoTrack")), "videoTracks");
}
#[test]
fn a_renamed_output_moves_the_field_that_returns_it() {
assert_eq!(root_field("Track"), "track");
assert_eq!(root_field("Video_Track"), "video_Track");
}
#[test]
fn a_name_with_no_initial_to_lower_is_answered_unchanged() {
assert_eq!(root_field(""), "");
assert_eq!(root_field("reel"), "reel");
assert_eq!(root_field("İzmir"), "i\u{307}zmir");
}