Skip to content

Commit 6b985a0

Browse files
committed
go back
1 parent 99e1f71 commit 6b985a0

6 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/Ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,4 @@ jobs:
1818
with:
1919
# file types to ignore
2020
skip: "*.json,*.yml,DIRECTORY.md"
21-
ignore_words_list: "ba,esy,yse,falsy,sortify"
22-
gcc:
23-
name: Setup GCC
24-
runs-on: ubuntu-latest
25-
steps:
26-
- uses: Dup4/actions-setup-gcc@v1
27-
- run: |
28-
wget https://raw.githubusercontent.com/MarufHasan24/mathlib-cpp/master/scripts/built.sh
29-
chmod +x ./built.sh
30-
./built.sh
21+
ignore_words_list: "ba,esy,yse,falsy,sortify"

scripts/built.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin
22

33
path=$(dirname $0)/..
44
echo "Building all files in ${path}/test"

test/conversions.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <iostream>
2+
#include "./../conversions.cpp"
3+
using namespace std;
4+
using namespace mlb;
5+
6+
int main() {
7+
cout << "Test convertions: 1 inch = " << inch2cm(1) << " centimeters" << endl;
8+
cout << "Test convertions: 1 centimeter = " << cm2inch(1) << " inches" << endl;
9+
cout << "Test convertions: 1 yard = " << yard2cm(1) << " centimeters" << endl;
10+
cout << "Test convertions: 1 centimeter = " << cm2yard(1) << " yards" << endl;
11+
cout << "Test convertions: 1 mile = " << mile2km(1) << " kilometers" << endl;
12+
cout << "Test convertions: 1 kilometer = " << km2mile(1) << " miles" << endl;
13+
return 0;
14+
}

test/convertions.cpp

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/out/complex.out

16.7 KB
Binary file not shown.

test/out/conversions.out

18.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)