From: Mike D. Lowis Date: Tue, 3 Apr 2012 16:31:09 +0000 (-0400) Subject: Removed integration tests files X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=9d1c4003abc84d07f2446b48a3e584912657cf95;p=archive%2Fdlang.git Removed integration tests files --- diff --git a/tests/integration/types/blocks.dl b/tests/integration/types/blocks.dl deleted file mode 100644 index f575577..0000000 --- a/tests/integration/types/blocks.dl +++ /dev/null @@ -1,7 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Blocks -#------------------------------------------------------------------------------ - -assert( typeof( { 1 + 1} ) == Block ) -assert( typeof( {|a| a + 1} ) == Block ) -assert( typeof( {|a,b| a + b} ) == Block ) diff --git a/tests/integration/types/booleans.dl b/tests/integration/types/booleans.dl deleted file mode 100644 index dc7ddc8..0000000 --- a/tests/integration/types/booleans.dl +++ /dev/null @@ -1,26 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Booleans and Nil -#------------------------------------------------------------------------------ - -assert( typeof( True ) == Bool ) -assert( typeof( False ) == Bool ) -assert( True == True ) -assert( False == False ) -assert( False == Nil ) -assert( True != False ) -assert( True != Nil ) -assert( True == 0 ) -assert( True == 1 ) -assert( True == 'A' ) -assert( True == "" ) -assert( True == () ) -assert( True == [] ) -assert( True == $Foo ) -assert( False != 0 ) -assert( False != 1 ) -assert( False != 'A' ) -assert( False != "" ) -assert( False != () ) -assert( False != [] ) -assert( False != $Foo ) - diff --git a/tests/integration/types/characters.dl b/tests/integration/types/characters.dl deleted file mode 100644 index 9c71aac..0000000 --- a/tests/integration/types/characters.dl +++ /dev/null @@ -1,5 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Characters -#------------------------------------------------------------------------------ - -assert( typeof( 'A' ) == Char ) diff --git a/tests/integration/types/lists.dl b/tests/integration/types/lists.dl deleted file mode 100644 index a6b3cc4..0000000 --- a/tests/integration/types/lists.dl +++ /dev/null @@ -1,5 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Lists -#------------------------------------------------------------------------------ - -assert( typeof( (1,2,3) ) == List ) diff --git a/tests/integration/types/numbers.dl b/tests/integration/types/numbers.dl deleted file mode 100644 index bc74d76..0000000 --- a/tests/integration/types/numbers.dl +++ /dev/null @@ -1,32 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Numbers -#------------------------------------------------------------------------------ - -assert( typeof( 345 ) == Num ) -assert( 345 == 345 ) - -assert( typeof( -345 ) == Num ) -assert( -345 == -345 ) - -assert( typeof( 34.5 ) == Num ) -assert( 34.5 == 34.5 ) - -assert( typeof( -34.5 ) == Num ) -assert( -34.5 == -34.5 ) - -assert( typeof( 3.45e2 ) == Num ) -assert( 3.45e2 == 345 ) - -assert( typeof( -3.45e2 ) == Num ) -assert( -3.45e2 == -345 ) - -assert( typeof( 34500e-2 ) == Num ) -assert( 34500e-2 == 345 ) - -assert( typeof( -34500e-2 ) == Num ) -assert( -34500e-2 == -345 ) - -assert( typeof( 0x159 ) == Num ) -assert( 0x159 == 345 ) - - diff --git a/tests/integration/types/strings.dl b/tests/integration/types/strings.dl deleted file mode 100644 index 750ba6e..0000000 --- a/tests/integration/types/strings.dl +++ /dev/null @@ -1,5 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Strings -#------------------------------------------------------------------------------ - -assert( typeof("this is a string") == String) diff --git a/tests/integration/types/symbols.dl b/tests/integration/types/symbols.dl deleted file mode 100644 index e0c419b..0000000 --- a/tests/integration/types/symbols.dl +++ /dev/null @@ -1,5 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Symbols -#------------------------------------------------------------------------------ - -assert( typeof( $Foo ) == Symbol ) diff --git a/tests/integration/types/vectors.dl b/tests/integration/types/vectors.dl deleted file mode 100644 index c569f35..0000000 --- a/tests/integration/types/vectors.dl +++ /dev/null @@ -1,5 +0,0 @@ -#------------------------------------------------------------------------------ -# Integration Tests for Vectors -#------------------------------------------------------------------------------ - -assert( typeof( [1,2,3] ) == Vector ) diff --git a/tests/source/main.h b/tests/source/main.h deleted file mode 100644 index 359d9a8..0000000 --- a/tests/source/main.h +++ /dev/null @@ -1,18 +0,0 @@ -#include - -class MyTestSuite2 : public CxxTest::TestSuite -{ -public: - void testAddition(void) - { - TS_ASSERT(1 + 1 > 1); - TS_ASSERT_EQUALS(1 + 1, 2); - } - - void testMultiplication(void) - { - TS_TRACE("Starting multiplication test"); - TS_ASSERT_EQUALS(2 * 2, 5); - TS_TRACE("Finishing multiplication test"); - } -};