]> git.mdlowis.com Git - archive/dlang.git/commitdiff
Removed integration tests files
authorMike D. Lowis <mike@mdlowis.com>
Tue, 3 Apr 2012 16:31:09 +0000 (12:31 -0400)
committerMike D. Lowis <mike@mdlowis.com>
Tue, 3 Apr 2012 16:31:09 +0000 (12:31 -0400)
tests/integration/types/blocks.dl [deleted file]
tests/integration/types/booleans.dl [deleted file]
tests/integration/types/characters.dl [deleted file]
tests/integration/types/lists.dl [deleted file]
tests/integration/types/numbers.dl [deleted file]
tests/integration/types/strings.dl [deleted file]
tests/integration/types/symbols.dl [deleted file]
tests/integration/types/vectors.dl [deleted file]
tests/source/main.h [deleted file]

diff --git a/tests/integration/types/blocks.dl b/tests/integration/types/blocks.dl
deleted file mode 100644 (file)
index f575577..0000000
+++ /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 (file)
index dc7ddc8..0000000
+++ /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 (file)
index 9c71aac..0000000
+++ /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 (file)
index a6b3cc4..0000000
+++ /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 (file)
index bc74d76..0000000
+++ /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 (file)
index 750ba6e..0000000
+++ /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 (file)
index e0c419b..0000000
+++ /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 (file)
index c569f35..0000000
+++ /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 (file)
index 359d9a8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <cxxtest/TestSuite.h>
-
-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");
-    }
-};