From ce6fae8b2c32bc4c9105acdf8ebb15d7a130f8d3 Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Thu, 3 Jul 2014 11:27:12 -0700 Subject: [PATCH] rename test functions --- SimPEG/Mesh/InnerProducts.py | 8 -------- .../Tests/{test_massMatrices.py => test_innerProduct.py} | 0 ...t_massMatricesDerivs.py => test_innerProductDerivs.py} | 0 3 files changed, 8 deletions(-) rename SimPEG/Tests/{test_massMatrices.py => test_innerProduct.py} (100%) rename SimPEG/Tests/{test_massMatricesDerivs.py => test_innerProductDerivs.py} (100%) diff --git a/SimPEG/Mesh/InnerProducts.py b/SimPEG/Mesh/InnerProducts.py index f0e45665..2cf48a7c 100644 --- a/SimPEG/Mesh/InnerProducts.py +++ b/SimPEG/Mesh/InnerProducts.py @@ -503,11 +503,3 @@ class InnerProducts(object): return PXXX return Pxxx - -if __name__ == '__main__': - from TensorMesh import TensorMesh - h = [np.array([1, 2, 3, 4]), np.array([1, 2, 1, 4, 2]), np.array([1, 1, 4, 1])] - M = TensorMesh(h) - mu = np.ones((M.nC, 6)) - A, P = M.getFaceInnerProduct(mu, returnP=True) - B, P = M.getEdgeInnerProduct(mu, returnP=True) diff --git a/SimPEG/Tests/test_massMatrices.py b/SimPEG/Tests/test_innerProduct.py similarity index 100% rename from SimPEG/Tests/test_massMatrices.py rename to SimPEG/Tests/test_innerProduct.py diff --git a/SimPEG/Tests/test_massMatricesDerivs.py b/SimPEG/Tests/test_innerProductDerivs.py similarity index 100% rename from SimPEG/Tests/test_massMatricesDerivs.py rename to SimPEG/Tests/test_innerProductDerivs.py