aboutsummaryrefslogtreecommitdiff
path: root/cpp02/ex02/main.cpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-10 12:01:44 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-10 12:01:44 +0100
commit18ca1fc67ccc7bf176287f7b2908a33a597ec67a (patch)
tree930e1604156d6b8957d8c01786a18f670a202bc3 /cpp02/ex02/main.cpp
parent9dd7a48967f99793b818f7362ac8e95717186774 (diff)
downloadpiscine_cpp-18ca1fc67ccc7bf176287f7b2908a33a597ec67a.tar.gz
piscine_cpp-18ca1fc67ccc7bf176287f7b2908a33a597ec67a.tar.bz2
piscine_cpp-18ca1fc67ccc7bf176287f7b2908a33a597ec67a.zip
Added more tests for cpp02/02
Diffstat (limited to 'cpp02/ex02/main.cpp')
-rw-r--r--cpp02/ex02/main.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/cpp02/ex02/main.cpp b/cpp02/ex02/main.cpp
deleted file mode 100644
index 7625260..0000000
--- a/cpp02/ex02/main.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-/* ************************************************************************** */
-/* */
-/* ::: :::::::: */
-/* main.cpp :+: :+: :+: */
-/* +:+ +:+ +:+ */
-/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
-/* +#+#+#+#+#+ +#+ */
-/* Created: 2020/04/13 11:51:15 by charles #+# #+# */
-/* Updated: 2020/10/19 12:42:08 by cacharle ### ########.fr */
-/* */
-/* ************************************************************************** */
-
-#include <iostream>
-#include "Fixed.hpp"
-
-int main(void)
-{
- Fixed a;
- Fixed const b(Fixed(5.05f) * Fixed(2));
-
- std::cout << a << std::endl;
- std::cout << ++a << std::endl;
- std::cout << a << std::endl;
- std::cout << a++ << std::endl;
- std::cout << a << std::endl;
- std::cout << b << std::endl;
- std::cout << Fixed::max(a, b) << std::endl;
-
- return 0;
-}