TheRealSamuel/LeetCodeProblem
0561
1 2import static org.junit.jupiter.api.Assertions.*;3import org.junit.jupiter.api.Test;4import java.util.List;5import java.util.Arrays;6import java.util.ArrayList;7public class Main {8 //Program start9 10 //Program end11 12 @Test13public void test1() {14 assertEquals(true, reportSpam(new ArrayList<>(Arrays.asList("hello","world","leetcode")), new ArrayList<>(Arrays.asList("world","hello"))));15}16@Test17public void test2() {18 assertEquals(false, reportSpam(new ArrayList<>(Arrays.asList("hello","programming","fun")), new ArrayList<>(Arrays.asList("world","programming","leetcode"))));19}20 21}22 