SHARE
TWEET

Untitled

a guest Jan 24th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         self.assertEqual(calculate_total_minutes_in("all I did today"), 0)
  2.         self.assertEqual(calculate_total_minutes_in("all I did today;"), 0)
  3.         self.assertEqual(calculate_total_minutes_in("all I did today;1"), 1)
  4.         self.assertEqual(calculate_total_minutes_in("all I did today;1 1 1 1 1 1 1"), 7)
  5.         self.assertEqual(calculate_total_minutes_in("all I did today;1m 1m 1m 1m 1m 1m 1h 1m"), 67)
  6.         self.assertEqual(calculate_total_minutes_in("all I did today;1m 1m 1m 1m 1m 1m 1h1m"), 67)
  7.         self.assertEqual(calculate_total_minutes_in("all I did today;1m 1m 1m 1m 1m 1m 1m1h 10m0h"), 77)
  8.         self.assertEqual(calculate_total_minutes_in("all I did today;1m 1m 1m 1m 1m 1m 1m1h 10m1h"), 137)
  9.         self.assertEqual(calculate_total_minutes_in("all I did today;1m 1m 1m 1m 1m 1m 1m1h 10m000000000000000001h"), 137)
  10.         self.assertEqual(calculate_total_minutes_in("all I did today;1h 1h 1h 1h 1h 1h 1m1h 10m000000000000000001h"), 491)
  11.         self.assertEqual(calculate_total_minutes_in("all I did today;1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h \
  12.             1h 1h 1h 1h 1h 1h 1h 1h 1h "), 1680)
  13.         self.assertEqual(calculate_total_minutes_in("all I did today;1h 1 1h v 1h g 1h h 1h 1h 1h j 1h 1h 1h 1hy 1h u 1h 1h 1h \
  14.             1h i 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h 1h "), 1681)
  15.         self.assertEqual(calculate_total_minutes_in("all I did today; i 20m, 35m, 2.5h, 3h40m v"), 425)
  16.         self.assertEqual(calculate_total_minutes_in("all I did today;1 1 1 1 1 1 1"), 7)
  17.         self.assertEqual(calculate_total_minutes_in("all I did today;1,       ,     1 1 1 1 1 1"), 7)
  18.         self.assertEqual(calculate_total_minutes_in("all I did today;1,       ,     1 1 1 1 1 1,    ,  ,,,  "), 7)
  19.         self.assertEqual(calculate_total_minutes_in("all I did today; i i i i.   dn. dm.  20m, 35m, , , , , ,,,, }    ,,,, 2.5h\
  20.             , 3h40m v ------ - - "), 425)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top