@@ -85,10 +85,6 @@ fn seeds(fast: u64, full: u64) -> u64 {
8585 }
8686}
8787
88- // ---------------------------------------------------------------------------
89- // Reference model
90- // ---------------------------------------------------------------------------
91-
9288fn attaches_to_previous ( text : & str ) -> bool {
9389 const ATTACHING : & str = ",.!?;:%)]}'’、。!?;:," ;
9490 text. trim ( )
@@ -353,10 +349,6 @@ fn compare_track(product: &[CaptionTrackSegment], model: &[Piece]) -> Vec<String
353349 problems
354350}
355351
356- // ---------------------------------------------------------------------------
357- // Random captions
358- // ---------------------------------------------------------------------------
359-
360352const VOCABULARY : [ & str ; 24 ] = [
361353 "hello" , "world" , "is" , "a" , "river" , "cloud" , "it" , "to" , "über" , "café" , "日本" , "so" ,
362354 "screen" , "record" , "of" , "we" , "on" , "capture" , "edit" , "timeline" , "in" , "up" , "my" , "an" ,
@@ -468,10 +460,6 @@ fn random_overrides(rng: &mut Rng, config: &mut ProjectConfiguration, per_source
468460 }
469461}
470462
471- // ---------------------------------------------------------------------------
472- // Projection and migration properties
473- // ---------------------------------------------------------------------------
474-
475463fn projection_problems (
476464 base : & ProjectConfiguration ,
477465 ops : & [ Op ] ,
@@ -891,10 +879,6 @@ fn legacy_migration() {
891879 finish ( case) ;
892880}
893881
894- // ---------------------------------------------------------------------------
895- // On-disk round trips
896- // ---------------------------------------------------------------------------
897-
898882fn styled_settings ( rng : & mut Rng ) -> CaptionSettings {
899883 CaptionSettings {
900884 enabled : true ,
@@ -1044,10 +1028,6 @@ fn walk(dir: &Path) -> Vec<std::path::PathBuf> {
10441028 out
10451029}
10461030
1047- // ---------------------------------------------------------------------------
1048- // Transcription input + fake transcriber
1049- // ---------------------------------------------------------------------------
1050-
10511031/// Two takes; every track starts at a different time, so the clip offsets
10521032/// matter (mic 0.25 s late, system audio 0.1 s early, display 0.05 s late).
10531033fn transcription_fixture ( ) -> FixtureSpec {
@@ -1340,10 +1320,6 @@ fn transcription_audio_words() {
13401320 finish ( case) ;
13411321}
13421322
1343- // ---------------------------------------------------------------------------
1344- // Rendered captions
1345- // ---------------------------------------------------------------------------
1346-
13471323/// Caption style that is easy to find: an opaque green box with white text,
13481324/// no fades, animation or word highlight.
13491325fn render_settings ( ) -> CaptionSettings {
@@ -1789,10 +1765,6 @@ fn render_multi_clip() {
17891765 common:: assert_passed ( failures) ;
17901766}
17911767
1792- // ---------------------------------------------------------------------------
1793- // Opening a project in the editor
1794- // ---------------------------------------------------------------------------
1795-
17961768/// Opens a copy of `project` whose stored config is `config` in the editor
17971769/// engine and returns the config it settles on.
17981770fn open_in_editor (
0 commit comments