From 445a6bd215f90ddb980a6b4279b1a8d11fa271ab Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Wed, 31 Jan 2024 12:35:07 -0500 Subject: [PATCH 1/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 664c405..99fd5b6 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -13,4 +13,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Lint - uses: Vba-actions/lint-vba@main + uses: Vba-actions/lint-vba@dev + with: + path: './src' From 194ab5c1154047bbf4317e104443aac2a30620e2 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Fri, 23 Feb 2024 16:29:25 -0500 Subject: [PATCH 2/8] Update Matrixfactory.bas --- src/Modules/Matrixfactory.bas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Modules/Matrixfactory.bas b/src/Modules/Matrixfactory.bas index 89a686c..14c8b13 100644 --- a/src/Modules/Matrixfactory.bas +++ b/src/Modules/Matrixfactory.bas @@ -1,3 +1,4 @@ +Attribute VB_Name = "MatrixFactory" ' Function: Scalarmatrix ' Make a matrix of dimensions m x n where every element is the value 'value' Function ScalarMatrix(value, matrix_length, matrix_width) As Matrix From b44f33645798583d3bd935835e953e9e4dd2078a Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Fri, 23 Feb 2024 16:30:32 -0500 Subject: [PATCH 3/8] Update VectorFactory.bas --- src/Modules/VectorFactory.bas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Modules/VectorFactory.bas b/src/Modules/VectorFactory.bas index 6123876..5fc4907 100644 --- a/src/Modules/VectorFactory.bas +++ b/src/Modules/VectorFactory.bas @@ -1,3 +1,4 @@ +Attribute VB_Name = "VectorFactory" ' Function: Create Vector ' Create a vector from a simple array ' From c62fca1c4cccddd4c8b5c097b1768be06f8ecbba Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Fri, 23 Feb 2024 16:32:27 -0500 Subject: [PATCH 4/8] Update Matrix.cls --- src/ClassModules/Matrix.cls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ClassModules/Matrix.cls b/src/ClassModules/Matrix.cls index 2bcbf03..c61c955 100644 --- a/src/ClassModules/Matrix.cls +++ b/src/ClassModules/Matrix.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "Matrix" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False ' Class: Matrix ' Perform matrix algebra and provide matrix attributes. ' From 44a540f233626bba0c0170217a233ffa85f9635c Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Fri, 23 Feb 2024 16:32:50 -0500 Subject: [PATCH 5/8] Update Vector.cls --- src/ClassModules/Vector.cls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ClassModules/Vector.cls b/src/ClassModules/Vector.cls index 7e99349..3d4b231 100644 --- a/src/ClassModules/Vector.cls +++ b/src/ClassModules/Vector.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "Vector" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False ' Class: Vector ' A list of numbers ' Version: 19091301 From 524f631d11fcbdd118d93057f8480c675cef5d4c Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Sat, 17 May 2025 09:36:56 -0400 Subject: [PATCH 6/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 99fd5b6..df92d03 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -13,6 +13,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Lint - uses: Vba-actions/lint-vba@dev + uses: Vba-actions/lint-vba with: path: './src' From dab2c5d9fc2c0caf4b7d0173072ce846905ecfa9 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Sat, 17 May 2025 09:42:31 -0400 Subject: [PATCH 7/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index df92d03..dfa2713 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -13,6 +13,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Lint - uses: Vba-actions/lint-vba - with: - path: './src' + uses: Vba-actions/lint-vba@dev From 6bbe389698d9f393ca89597757b4fefd0ffa0eee Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Sat, 17 May 2025 10:16:13 -0400 Subject: [PATCH 8/8] Test headers (#9) * Added headers to testing files --- testing/ClassModules/ArithmeticTests.cls | 9 +++++++++ testing/ClassModules/LetGetTest.cls | 9 +++++++++ testing/ClassModules/MatrixTestConfig.cls | 9 +++++++++ testing/ClassModules/PropertyTests.cls | 9 +++++++++ testing/ClassModules/TransformationTests.cls | 9 +++++++++ testing/Modules/MatrixUnitTests.bas | 1 + 6 files changed, 46 insertions(+) diff --git a/testing/ClassModules/ArithmeticTests.cls b/testing/ClassModules/ArithmeticTests.cls index a45c118..09e4a44 100644 --- a/testing/ClassModules/ArithmeticTests.cls +++ b/testing/ClassModules/ArithmeticTests.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "ArithmeticTests" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False Implements iTestCase Dim M As New Matrix diff --git a/testing/ClassModules/LetGetTest.cls b/testing/ClassModules/LetGetTest.cls index 64dcf3c..509f9db 100644 --- a/testing/ClassModules/LetGetTest.cls +++ b/testing/ClassModules/LetGetTest.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "LetGetTest" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False Implements iTestCase Dim M As New Matrix diff --git a/testing/ClassModules/MatrixTestConfig.cls b/testing/ClassModules/MatrixTestConfig.cls index e20385c..5d425fc 100644 --- a/testing/ClassModules/MatrixTestConfig.cls +++ b/testing/ClassModules/MatrixTestConfig.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "MatrixTestConfig" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False Implements iTestableProject Dim bOutputFailures As Boolean diff --git a/testing/ClassModules/PropertyTests.cls b/testing/ClassModules/PropertyTests.cls index 41ad1e8..575f88f 100644 --- a/testing/ClassModules/PropertyTests.cls +++ b/testing/ClassModules/PropertyTests.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "PropertyTests" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False Implements iTestCase Dim M As New Matrix diff --git a/testing/ClassModules/TransformationTests.cls b/testing/ClassModules/TransformationTests.cls index 5856018..5c4c6e4 100644 --- a/testing/ClassModules/TransformationTests.cls +++ b/testing/ClassModules/TransformationTests.cls @@ -1,3 +1,12 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True +END +Attribute VB_Name = "TransformationTests" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False Implements iTestCase Dim M As Matrix diff --git a/testing/Modules/MatrixUnitTests.bas b/testing/Modules/MatrixUnitTests.bas index 374f491..53f1d1a 100644 --- a/testing/Modules/MatrixUnitTests.bas +++ b/testing/Modules/MatrixUnitTests.bas @@ -1,3 +1,4 @@ +Attribute VB_Name = "MatrixUnitTests" Public Function RunTests() Dim TestConfig As iTestableProject