HummingBirdAnimeClient/tests/AnimeClientTest.php

30 lines
784 B
PHP
Raw Normal View History

<?php declare(strict_types=1);
/**
* Hummingbird Anime List Client
*
* An API client for Kitsu and MyAnimeList to manage anime and manga watch lists
*
* PHP version 7
*
* @package HummingbirdAnimeClient
* @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2015 - 2017 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 4.0
* @link https://github.com/timw4mail/HummingBirdAnimeClient
*/
2015-11-16 19:30:04 -05:00
2017-02-15 11:49:38 -05:00
namespace Aviat\AnimeClient\Tests;
2015-11-16 19:30:04 -05:00
2017-02-22 15:08:29 -05:00
use function Aviat\AnimeClient\_dir;
2017-02-15 16:40:18 -05:00
class AnimeClientTest extends AnimeClientTestCase {
2015-11-16 19:30:04 -05:00
/**
* Basic sanity test for _dir function
*/
public function testDir()
{
2017-02-22 15:08:29 -05:00
$this->assertEquals('foo' . \DIRECTORY_SEPARATOR . 'bar', _dir('foo', 'bar'));
2015-11-16 19:30:04 -05:00
}
}