|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Date. More...
#include <gtest/gtest.h>#include <ah-date.H>#include <array>#include <stdexcept>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| TEST (AhDateTest, LeapYearDetection) | |
| TEST (AhDateTest, DayValidationHandlesMonthLengths) | |
| TEST (AhDateTest, ToTimeTTripleRoundTrip) | |
| TEST (AhDateTest, ToTimeTTripleRejectsInvalidDates) | |
| TEST (AhDateTest, ToTimeTFromStringValidatesFormat) | |
| TEST (AhDateTest, ToDaysRequiresNonNegativeTimestamps) | |
| TEST (AhDateTest, ToStringFormatsAndDetectsOverflow) | |
Tests for Ah Date.
Definition in file ah_date_test.cc.
| TEST | ( | AhDateTest | , |
| DayValidationHandlesMonthLengths | |||
| ) |
Definition at line 68 of file ah_date_test.cc.
References Aleph::valid_day().
| TEST | ( | AhDateTest | , |
| LeapYearDetection | |||
| ) |
Definition at line 60 of file ah_date_test.cc.
References Aleph::is_leap_year().
| TEST | ( | AhDateTest | , |
| ToDaysRequiresNonNegativeTimestamps | |||
| ) |
Definition at line 109 of file ah_date_test.cc.
References Aleph::to_days().
| TEST | ( | AhDateTest | , |
| ToStringFormatsAndDetectsOverflow | |||
| ) |
Definition at line 116 of file ah_date_test.cc.
References Aleph::to_string(), and Aleph::to_time_t().
| TEST | ( | AhDateTest | , |
| ToTimeTFromStringValidatesFormat | |||
| ) |
Definition at line 93 of file ah_date_test.cc.
References Aleph::to_time_t().
| TEST | ( | AhDateTest | , |
| ToTimeTTripleRejectsInvalidDates | |||
| ) |
Definition at line 87 of file ah_date_test.cc.
References Aleph::to_time_t().
| TEST | ( | AhDateTest | , |
| ToTimeTTripleRoundTrip | |||
| ) |
Definition at line 77 of file ah_date_test.cc.
References Aleph::to_time_t().