Skip to content

Commit

Permalink
renamed external folder
Browse files Browse the repository at this point in the history
  • Loading branch information
omaraflak committed Aug 28, 2023
1 parent 276f7d6 commit 0bb86d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/banana_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ TEST(Function, ParametersConversion) {
}

TEST(NATIVE, PRIMES) {
EXPECT_EQ(system("g++ ./external/prime.cpp -o ./external/prime.so -shared -fPIC"), 0);
EXPECT_EQ("541\n", exe("@native(\"math::prime\") long nthPrime(long n); print nthPrime(100);", {"./external/prime.so"}));
EXPECT_EQ(system("g++ ./native/prime.cpp -o ./native/prime.so -shared -fPIC"), 0);
EXPECT_EQ("541\n", exe("@native(\"math::prime\") long nthPrime(long n); print nthPrime(100);", {"./native/prime.so"}));
}

TEST(FIBONACCI, RECURSION) {
Expand Down

0 comments on commit 0bb86d6

Please sign in to comment.