- Rough First Pass implementation for format.h
- Started 2D Transform Component and relevant math extensions - Switched sequence to use pointers instead of arrays
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifndef FENNEC_TEST_LANGPROC_FORMAT_H
|
||||
#define FENNEC_TEST_LANGPROC_FORMAT_H
|
||||
#include <fennec/langproc/compile/tokenizer.h>
|
||||
#include <fennec/langproc/strings/format.h>
|
||||
|
||||
namespace fennec
|
||||
{
|
||||
@@ -40,20 +40,7 @@ namespace test
|
||||
|
||||
inline void fennec_test_langproc_format() {
|
||||
|
||||
// tokenizer math = {
|
||||
// .delimiter { " " },
|
||||
// .operators {"+-/*="},
|
||||
// .braces { "()" },
|
||||
// .escapes { "" },
|
||||
// .terminator { "" },
|
||||
// };
|
||||
//
|
||||
// const auto res = math.parse("1 + 2 = 3");
|
||||
// fennec_test_run(res.size(), size_t(5));
|
||||
//
|
||||
// for (const auto& token : res) {
|
||||
// std::cout << token.second << ", ";
|
||||
// }
|
||||
fennec_test_run(fennec::format("{}", "Hello World!"), string("Hello World!"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user