]> granicus.if.org Git - icu/commitdiff
Merge branch 'units-staging' of github.com:sffc/icu into tryingdouble
authorYounies Mahmoud <younies.mahmoud@gmail.com>
Wed, 18 Mar 2020 13:39:41 +0000 (14:39 +0100)
committerYounies Mahmoud <younies.mahmoud@gmail.com>
Wed, 18 Mar 2020 13:39:41 +0000 (14:39 +0100)
1  2 
icu4c/source/test/intltest/unitstest.cpp

index def8966f903f50fceeab98fb9d02acf96ade7b25,41d761132fa86ff53034066d48bfacb9ee58f904..128bb172c0f340ddcc24a756fe215b4927f67b80
  #include "unicode/measunit.h"
  #include "unicode/unistr.h"
  #include "unicode/unum.h"
 +#include "unitconverter.h"
  #include "uparse.h"
 +#include <iostream>
 +
 +struct UnitConversionTestCase {
 +    const StringPiece source;
 +    const StringPiece target;
 +    const double inputValue;
 +    const double expectedValue;
 +};
  
+ using icu::number::impl::DecimalQuantity;
  class UnitsTest : public IntlTest {
    public:
      UnitsTest() {}