PHP Classes

File: test/unit/HaliteTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Halite   test/unit/HaliteTest.php   Download  
File: test/unit/HaliteTest.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Halite
Perform cryptography operations with libsodium
Author: By
Last change:
Date: 8 years ago
Size: 306 bytes
 

Contents

Class file image Download
<?php
use \ParagonIE\Halite\Halite;

/**
 * @backupGlobals disabled
 * @backupStaticAttributes disabled
 */
class HaliteTest extends PHPUnit_Framework_TestCase
{
    public function
testLibsodiumDetection()
    {
       
$this->assertTrue(
           
Halite::isLibsodiumSetupCorrectly()
        );
    }
}