Skip to content

Commit

Permalink
Add test that fails a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Aug 1, 2023
1 parent 3865d14 commit 6429869
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions starboard/client_porting/eztime/eztime_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ namespace client_porting {
namespace eztime {
namespace {

TEST(EzTimeTFromSbTime, SometimesFails) {
SbTime sb_time = SbTimeGetNow();
EXPECT_EQ(sb_time % 3, 0);
}

TEST(EzTimeTFromSbTime, IsTransitive) {
SbTime sb_time = EzTimeTToSbTime(kTestTimePositive);
EzTimeT ez_time = EzTimeTFromSbTime(sb_time);
Expand Down

0 comments on commit 6429869

Please sign in to comment.