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: 5 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()
        );
    }
}


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