Skip to content

Commit e52312d

Browse files
ADD: Testcases for uvectormath.pas
1 parent 85651c8 commit e52312d

File tree

7 files changed

+558
-0
lines changed

7 files changed

+558
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Collection of classes and examples corresponding to data processing, math and co
5252
| JSON_Analyzer | demo application for uJSON.pas |
5353
| LZW | demo application for uLZW.pas (Lempel-Ziv-Welch algorithm) |
5454
| QuadTree | demo application for uquadtree.pas |
55+
| Vectormath | Testcases for uvectormath.pas |
5556
| uJSON.pas | JSON-Loader / writer class |
5657
| uLZW.pas | Implementation of Lempel-Ziv-Welch algorithm with two different dictionaries |
5758
| ubitstream.pas | Stream to store and load bitwise data (typically only needed in compression algorithms) |

data_control/Vectormath/Readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Vectormath
2+
3+
Testcases for uvectormath.pas
4+
5+
![](preview.png)
6+
7+
Features:
8+
- testcases for important matrix operations
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CONFIG>
3+
<ProjectOptions>
4+
<Version Value="12"/>
5+
<PathDelim Value="\"/>
6+
<General>
7+
<Flags>
8+
<CompatibilityMode Value="True"/>
9+
</Flags>
10+
<SessionStorage Value="InProjectDir"/>
11+
<Title Value="fpcunitproject1"/>
12+
<ResourceType Value="res"/>
13+
<UseXPManifest Value="True"/>
14+
</General>
15+
<BuildModes Count="1">
16+
<Item1 Name="Default" Default="True"/>
17+
</BuildModes>
18+
<PublishOptions>
19+
<Version Value="2"/>
20+
<UseFileFilters Value="True"/>
21+
</PublishOptions>
22+
<RunParams>
23+
<FormatVersion Value="2"/>
24+
</RunParams>
25+
<RequiredPackages Count="3">
26+
<Item1>
27+
<PackageName Value="fpcunittestrunner"/>
28+
</Item1>
29+
<Item2>
30+
<PackageName Value="LCL"/>
31+
</Item2>
32+
<Item3>
33+
<PackageName Value="FCL"/>
34+
</Item3>
35+
</RequiredPackages>
36+
<Units Count="4">
37+
<Unit0>
38+
<Filename Value="fpcunitproject1.lpr"/>
39+
<IsPartOfProject Value="True"/>
40+
</Unit0>
41+
<Unit1>
42+
<Filename Value="testcase1.pas"/>
43+
<IsPartOfProject Value="True"/>
44+
<UnitName Value="TestCase1"/>
45+
</Unit1>
46+
<Unit2>
47+
<Filename Value="..\uvectormath.pas"/>
48+
<IsPartOfProject Value="True"/>
49+
</Unit2>
50+
<Unit3>
51+
<Filename Value="uvectormath.inc"/>
52+
<IsPartOfProject Value="True"/>
53+
</Unit3>
54+
</Units>
55+
</ProjectOptions>
56+
<CompilerOptions>
57+
<Version Value="11"/>
58+
<PathDelim Value="\"/>
59+
<Target>
60+
<Filename Value="fpcunitproject1"/>
61+
</Target>
62+
<SearchPaths>
63+
<IncludeFiles Value="$(ProjOutDir)"/>
64+
<OtherUnitFiles Value=".."/>
65+
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
66+
</SearchPaths>
67+
<Linking>
68+
<Options>
69+
<Win32>
70+
<GraphicApplication Value="True"/>
71+
</Win32>
72+
</Options>
73+
</Linking>
74+
</CompilerOptions>
75+
<Debugging>
76+
<Exceptions Count="5">
77+
<Item1>
78+
<Name Value="EAbort"/>
79+
</Item1>
80+
<Item2>
81+
<Name Value="ECodetoolError"/>
82+
</Item2>
83+
<Item3>
84+
<Name Value="EFOpenError"/>
85+
</Item3>
86+
<Item4>
87+
<Name Value="Exception"/>
88+
</Item4>
89+
<Item5>
90+
<Name Value="EAssertionFailedError"/>
91+
</Item5>
92+
</Exceptions>
93+
</Debugging>
94+
</CONFIG>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Program fpcunitproject1;
2+
3+
{$MODE objfpc}{$H+}
4+
5+
Uses
6+
Interfaces, Forms, GuiTestRunner, TestCase1;
7+
8+
{$R *.res}
9+
10+
Begin
11+
Application.Initialize;
12+
Application.CreateForm(TGuiTestRunner, TestRunner);
13+
Application.Run;
14+
End.
15+

data_control/Vectormath/preview.png

77.7 KB
Loading

0 commit comments

Comments
 (0)