~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/date_time_test.cc

  • Committer: Brian Aker
  • Date: 2010-10-26 21:34:15 UTC
  • mto: (1887.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1888.
  • Revision ID: brian@tangent.org-20101026213415-666ezkzx542h8uf0
Adding cache.h for definition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "config.h"
22
22
 
23
23
#include <gtest/gtest.h>
24
 
#include <drizzled/type/decimal.h>
 
24
#include <drizzled/decimal.h>
25
25
#include <drizzled/temporal.h>
26
26
#include <drizzled/temporal_format.h>
27
27
 
298
298
 
299
299
TEST_F(DateTimeTest, to_decimal)
300
300
{
301
 
  drizzled::type::Decimal to;
 
301
  drizzled::my_decimal to;
302
302
  TemporalGenerator::DateTimeGen::make_datetime(&datetime, 1987, 6, 13, 5, 10, 13, 456);
303
303
 
304
304
  datetime.to_decimal(&to);
457
457
                                          "10/6/7",/* YY[-/.][M]M[-/.][D]D */
458
458
                                          "2010-6-7"/* YYYY[-/.][M]M[-/.][D]D */));
459
459
 
460
 
                                          
 
460
                                          
 
 
b'\\ No newline at end of file'