Skip to content

Commit

Permalink
started working on some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Caldrin committed Oct 22, 2012
1 parent 2227c75 commit 58c2c77
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions t/00-load.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

use strict;
use warnings;
use 5.010;

use Test::More tests => 1;

use_ok('OpenCL::Convenient');

done_testing;
14 changes: 14 additions & 0 deletions t/01-opencl-convenient.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /usr/bin/env perl

use strict;
use warnings;
use 5.010;

use Test::More tests => 1;

BEGIN { use_ok('OpenCL::Convenient') }


my $retval = OpenCL::Convenient::prepare('multiply');

is($retval, undef, 'OpenCL preparation finished');

0 comments on commit 58c2c77

Please sign in to comment.