File: tests/util-tests/ArraysTest.php

Recommend this page to a friend!
  Classes of Maik Greubel  >  PHP Generics  >  tests/util-tests/ArraysTest.php  >  Download  
File: tests/util-tests/ArraysTest.php
Role: Unit test script
Content type: text/plain
Description: Testing Arrays support utilities
Class: PHP Generics
Framework for accessing streams, sockets and logs
Author: By
Last change: Update to PHPUnit 6
Date: 3 years ago
Size: 271 bytes
 

Contents

Class file image Download
<?php

namespace Generics\Tests;

use
Generics\Util\Arrays;

class
ArraysTest extends \PHPUnit\Framework\TestCase
{
    public function
testCreateEmptyArray()
    {
       
$array = Arrays::createEmptyArray(10);

       
$this->assertEquals(10, $array->count());
    }
}


For more information send a message to info at phpclasses dot org.