#include "components/live_caption/greedy_text_stabilizer.h"
#include <string>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
namespace captions {
class GreedyTextStabilizerTest : public testing::Test { … };
TEST_F(GreedyTextStabilizerTest, NegativeMinTokenFrequencySetToZero) { … }
TEST_F(GreedyTextStabilizerTest, EmptySentencesHaveZeroStableTokens) { … }
TEST_F(GreedyTextStabilizerTest, CompleteSentencesOutputFullText) { … }
TEST_F(GreedyTextStabilizerTest, PunctuationFlickerIsStabilized) { … }
TEST_F(GreedyTextStabilizerTest, MultipleFormsOfFlickerAreStabilized) { … }
TEST_F(GreedyTextStabilizerTest, FlickerInLongFormTextIsStabilized) { … }
TEST_F(GreedyTextStabilizerTest, KoreanTokensAreStabilized) { … }
}