diff options
| author | ruki <[email protected]> | 2024-03-14 00:51:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-14 00:51:32 +0800 |
| commit | 218abfd90286dd906f28c368802fd755808f1ab9 (patch) | |
| tree | 469d74e7fba4e6c32366c1dc0d5037a4e9bed6a8 /tests/projects/c++/modules/partitions2/src | |
| parent | 53cc8033c4b7970afb13e89cb6b79272e71fbfda (diff) | |
improve tests
Diffstat (limited to 'tests/projects/c++/modules/partitions2/src')
4 files changed, 0 insertions, 36 deletions
diff --git a/tests/projects/c++/modules/partitions2/src/math.cpp b/tests/projects/c++/modules/partitions2/src/math.cpp deleted file mode 100644 index 3a10c8203..000000000 --- a/tests/projects/c++/modules/partitions2/src/math.cpp +++ /dev/null @@ -1,15 +0,0 @@ -module math;
-
-import :details;
-
-double Math::superLog(double z, double b)
-{
- // Implementation omitted...
- return someHelperFunction(z);
-}
-
-double Math::lerchZeta(double lambda, double alpha, double s)
-{
- // Implementation omitted...
- return someHelperFunction(s);
-}
diff --git a/tests/projects/c++/modules/partitions2/src/math.mpp b/tests/projects/c++/modules/partitions2/src/math.mpp deleted file mode 100644 index 9e2552513..000000000 --- a/tests/projects/c++/modules/partitions2/src/math.mpp +++ /dev/null @@ -1,7 +0,0 @@ -export module math; // math module declaration
-
-export namespace Math
-{
- double superLog(double z, double b);
- double lerchZeta(double lambda, double alpha, double s);
-}
diff --git a/tests/projects/c++/modules/partitions2/src/math_helpers.mpp b/tests/projects/c++/modules/partitions2/src/math_helpers.mpp deleted file mode 100644 index a92cb5e4a..000000000 --- a/tests/projects/c++/modules/partitions2/src/math_helpers.mpp +++ /dev/null @@ -1,7 +0,0 @@ -export module math:details; // math:details implementation partition
-
-double someHelperFunction(double a)
-{
- // Implementation omitted...
- return 42;
-}
diff --git a/tests/projects/c++/modules/partitions2/src/test.cpp b/tests/projects/c++/modules/partitions2/src/test.cpp deleted file mode 100644 index 8f7f81b2c..000000000 --- a/tests/projects/c++/modules/partitions2/src/test.cpp +++ /dev/null @@ -1,7 +0,0 @@ -import math;
-
-int main()
-{
- auto a{ Math::lerchZeta(1, 2, 3) };
- auto b{ Math::superLog(1, 2) };
-}
|
