Skip to content

Commit

Permalink
std/math/bits: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Feb 26, 2025
1 parent b9c1fe4 commit 92c7195
Show file tree
Hide file tree
Showing 8 changed files with 778 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/std_tests_clang_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ jobs:
julec test --compiler clang -o test std/math/big
./test
- name: Test - std/math/bits
run: |
julec test --compiler clang -o test std/math/bits/test
./test
- name: Test - std/math/cmplx
run: |
julec test --compiler clang -o test std/math/cmplx
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/std_tests_clang_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ jobs:
julec test --compiler clang -o test std/math/big
./test
- name: Test - std/math/bits
run: |
julec test --compiler clang -o test std/math/bits/test
./test
- name: Test - std/math/cmplx
run: |
julec test --compiler clang -o test std/math/cmplx
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/std_tests_clang_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ jobs:
.\bin\julec test --compiler clang -o test std/math/big
./test
- name: Test - std/math/bits
run: |
.\bin\julec test --compiler clang -o test std/math/bits/test
./test
- name: Test - std/math/cmplx
run: |
.\bin\julec test --compiler clang -o test std/math/cmplx
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/std_tests_gcc_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ jobs:
g++-13 -w -fwrapv --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/math/bits
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/math/bits/test
g++-13 -w -fwrapv --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/math/cmplx
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/math/cmplx
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/std_tests_gcc_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ jobs:
julec test --compiler gcc -o test std/math/big
./test
- name: Test - std/math/bits
run: |
julec test --compiler gcc -o test std/math/bits/test
./test
- name: Test - std/math/cmplx
run: |
julec test --compiler gcc -o test std/math/cmplx
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/std_tests_gcc_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ jobs:
.\bin\julec test --compiler gcc -o test std/math/big
./test
- name: Test - std/math/bits
run: |
.\bin\julec test --compiler gcc -o test std/math/bits/test
./test
- name: Test - std/math/cmplx
run: |
.\bin\julec test --compiler gcc -o test std/math/cmplx
Expand Down
5 changes: 5 additions & 0 deletions std/math/bits/export_test.jule
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright 2025 The Jule Programming Language.
// Use of this source code is governed by a BSD 3-Clause
// license that can be found in the LICENSE file.

const DeBruijn64 = _DE_BRUIJN64
Loading

0 comments on commit 92c7195

Please sign in to comment.