File tree Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 15
15
! . /dist /setup_cpp.js
16
16
! . /dist /setup_cpp.js.map
17
17
.parcel-cache
18
- exe
18
+ * .log
19
+ * .exe
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ jest.setTimeout(3000000)
10
10
describe ( "setup-gcc" , ( ) => {
11
11
let directory : string
12
12
beforeAll ( async ( ) => {
13
- directory = await setupTmpDir ( "doxygen " )
13
+ directory = await setupTmpDir ( "gcc " )
14
14
} )
15
15
16
16
it ( "should setup gcc" , async ( ) => {
@@ -37,6 +37,6 @@ describe("setup-gcc", () => {
37
37
} )
38
38
39
39
afterAll ( async ( ) => {
40
- await cleanupTmpDir ( "doxygen " )
40
+ await cleanupTmpDir ( "gcc " )
41
41
} , 100000 )
42
42
} )
Original file line number Diff line number Diff line change 8
8
#include < cstddef>
9
9
#include < cstdint>
10
10
#include < cstring>
11
+ #include < cmath>
11
12
12
13
int main () {
13
- const auto x = 10.0 ;
14
- std::cout << " Testing " << x << ' \n ' ;
14
+ const auto val1 = 10.0 ;
15
+ std::cout << " Testing " << val1 << ' \n ' ;
15
16
16
- const auto y = std::to_string (x);
17
- std::cout << " Testing " << y << ' \n ' ;
17
+ const auto val2 = std::to_string (val1);
18
+ std::cout << " Testing " << val2 << ' \n ' ;
19
+
20
+ return static_cast <int >(std::sin (val1) + std::log (static_cast <double >(val2.size ())) - 1 );
18
21
}
Original file line number Diff line number Diff line change 8
8
#include < cstddef>
9
9
#include < cstdint>
10
10
#include < cstring>
11
+ #include < cmath>
11
12
12
13
int main () {
13
- const auto x = 10.0 ;
14
- std::cout << " Testing " << x << ' \n ' ;
14
+ const auto val1 = 10.0 ;
15
+ std::cout << " Testing " << val1 << ' \n ' ;
15
16
16
- const auto y = std::to_string (x);
17
- std::cout << " Testing " << y << ' \n ' ;
17
+ const auto val2 = std::to_string (val1);
18
+ std::cout << " Testing " << val2 << ' \n ' ;
19
+
20
+ return static_cast <int >(std::sin (val1) + std::log (static_cast <double >(val2.size ())) - 1 );
18
21
}
You can’t perform that action at this time.
0 commit comments