1
0
Fork 0

Added {Abstract,Final}Class to index test

perfodd
Mike Gerwitz 2011-12-23 00:02:28 -05:00
parent bc22a9be27
commit 0dca143bdd
1 changed files with 14 additions and 2 deletions

View File

@ -25,6 +25,8 @@ var common = require( './common' ),
assert = require( 'assert' ), assert = require( 'assert' ),
Class = common.require( 'class' ), Class = common.require( 'class' ),
AbstractClass = common.require( 'class_abstract' ),
FinalClass = common.require( 'class_final' ),
Interface = common.require( 'interface' ), Interface = common.require( 'interface' ),
index = require( '../' ); index = require( '../' );
@ -35,6 +37,16 @@ assert.ok(
"Class should be made available" "Class should be made available"
); );
assert.ok(
( index.AbstractClass === AbstractClass ),
"AbstractClass should be made available"
);
assert.ok(
( index.FinalClass === FinalClass ),
"FinalClass should be made available"
);
assert.ok( assert.ok(
( index.Interface === Interface ), ( index.Interface === Interface ),
"Interface should be made available" "Interface should be made available"