aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2D/Tests/test_math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Source/Phy2D/Tests/test_math.cpp')
-rw-r--r--Client/Source/Phy2D/Tests/test_math.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Client/Source/Phy2D/Tests/test_math.cpp b/Client/Source/Phy2D/Tests/test_math.cpp
index f88170d..36e834c 100644
--- a/Client/Source/Phy2D/Tests/test_math.cpp
+++ b/Client/Source/Phy2D/Tests/test_math.cpp
@@ -4,17 +4,18 @@
#include <iostream>
#include "../Common/Math.h"
+#include "../Common/Settings.h"
#include "fix32/fix32.hpp"
-using namespace std;
+using namespace Phy2D;
int main(int argc, char **argv)
{
- Fix32 a = 1.3;
- Fix32 b = 2.4;
- Fix32 c = a * b;
+ fixed32 a = 1111.33333;
+ fixed32 b = 23333.44444;
+ fixed32 c = a / b;
- cout << (double)c;
+ std::cout << (double)c;
getchar();