public function test_eq() { $this->assertTrue(F\eq('hi', 'hi')); $this->assertTrue(F\eq(13, 13)); $this->assertTrue(F\eq('1', 1)); $this->assertFalse(F\eq('hi', 'yo')); $this->assertFalse(F\eq(1, 'yo')); }
public function test_uniqueBy() { $this->assertEquals(F\uniqueBy(F\eq(), [1, '2', '1', 3, '3', 2, 2]), [1, '2', 3]); }