parent
b4ee790d56
commit
3842bfbab9
4 changed files with 18 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||||
|
#include "test.hpp" |
||||||
|
namespace BK::Math { |
||||||
|
int add(int x, int y) { |
||||||
|
return x + y; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,6 @@ |
|||||||
|
#ifndef TEST_H |
||||||
|
#define TEST_H |
||||||
|
namespace BK::Math { |
||||||
|
int add(int x, int y); |
||||||
|
} |
||||||
|
#endif |
@ -0,0 +1,6 @@ |
|||||||
|
#include <iostream> |
||||||
|
#include <bakara/test.hpp> |
||||||
|
|
||||||
|
int main() { |
||||||
|
std::cout << BK::Math::add(2, 2) << "\n"; |
||||||
|
} |
Loading…
Reference in New Issue