From: Alberto Bertogli Date: Mon, 3 Oct 2005 05:52:13 +0000 (+0000) Subject: Acomodar los retornos de linea en number.cpp. X-Git-Tag: Entrega_1~56 X-Git-Url: https://git.llucax.com/z.facultad/75.29/dale.git/commitdiff_plain/80f69e2726625752d481bad52b21fb7f2d07637f?hp=adeca343a1a55fe3992722577268cf0aec4a5b65 Acomodar los retornos de linea en number.cpp. --- diff --git a/tests/number.cpp b/tests/number.cpp index 5e5e96c..eeafe20 100644 --- a/tests/number.cpp +++ b/tests/number.cpp @@ -3,23 +3,23 @@ int main() { -#if 0 +#if 0 //unsigned buf[5] = { 0xfffffffe, 0xffffffff, 0xffffffff, 0xffffffff, 0 }; //unsigned buf[3] = { 0xffffffff, 0x1, 0 }; - number< unsigned > nu = 0xffffffff; + number< unsigned > nu = 0xffffffff; //number< unsigned > nu2(nu); number< unsigned > nu2 = 1u; std::cout << "nu = " << nu << "\n\n"; std::cout << "nu2 = " << nu2 << "\n\n"; - std::cout << "nu + nu2 = " << nu + nu2 << "\n\n"; -#endif - - number< unsigned > nu = 0xffffffff; - std::cout << "nu = " << nu << "\n\n"; - - nu << 5; - std::cout << "nu = " << nu << "\n\n"; + std::cout << "nu + nu2 = " << nu + nu2 << "\n\n"; +#endif - return 0; + number< unsigned > nu = 0xffffffff; + std::cout << "nu = " << nu << "\n\n"; + + nu << 5; + std::cout << "nu = " << nu << "\n\n"; + + return 0; -} +}