]> granicus.if.org Git - icu/commitdiff
Merge branch 'units-staging' of github.com:sffc/icu into units_router
authorYounies Mahmoud <younies.mahmoud@gmail.com>
Tue, 17 Mar 2020 20:31:54 +0000 (21:31 +0100)
committerYounies Mahmoud <younies.mahmoud@gmail.com>
Tue, 17 Mar 2020 20:31:54 +0000 (21:31 +0100)
1  2 
icu4c/source/test/intltest/unitstest.cpp

index e447e5cce8f577ac1fed7c762350eb6eb9d3c2c6,41d761132fa86ff53034066d48bfacb9ee58f904..901beae69bc93485e406df0b677d297b6eecf08c
  #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() {}