Added cherno template test

dev
anulax1225 ago%!(EXTRA string=1 year)
parent b4ee790d56
commit 3842bfbab9
  1. 0
      bakara/src/bakara.hpp
  2. 6
      bakara/src/bakara/test.cpp
  3. 6
      bakara/src/bakara/test.hpp
  4. 6
      sandbox/src/main.cpp

@ -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…
Cancel
Save