예제 #1
0
 public function testAllInArray()
 {
     $this->assertTrue(ArrayToolkit::allInArray(['c', 'a', 'b'], ['a', 'b', 'c']));
     $this->assertTrue(ArrayToolkit::allInArray(['c', 'a', 'b'], ['a', 'b', 'c', 'd']));
     $this->assertFalse(ArrayToolkit::allInArray(['c', 'a', 'b'], ['a', 'd', 'c']));
 }