Added Hide Time option;

Fixed author tags
This commit is contained in:
Justin Foell
2019-03-01 15:21:02 -06:00
parent 85e75c5bde
commit d831bc4534
6 changed files with 77 additions and 16 deletions
+6 -6
View File
@@ -17,7 +17,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 10,000 meters is 6.21 miles using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_distance() {
@@ -28,7 +28,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 6.213712 miles is 10,000.00 meters using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_distance_inverse() {
@@ -39,7 +39,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 6.705 meters per second is 15.00 mph using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_speed() {
@@ -50,7 +50,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 2.68224 meters per second is a 10:00 minute/mile pace using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_pace() {
@@ -61,7 +61,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 60.96 meters is 200.00 feet using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_elevation() {
@@ -72,7 +72,7 @@ class WPStrava_SOMEnglishTest extends TestCase {
/**
* Test that 4805 seconds is 01:20:05 time (H:i:s) using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_time() {
+6 -6
View File
@@ -17,7 +17,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 10,000 meters is 10.00 kilometers using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_distance() {
@@ -28,7 +28,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 42.195 km is 42,195.00 meters using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_distance_inverse() {
@@ -39,7 +39,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 4.47 meters per second is 16.09 kmh using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_speed() {
@@ -50,7 +50,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 2.2352 meters per second is a 7:27 minute/kilometer pace using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_pace() {
@@ -61,7 +61,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 70 meters is 70.00 meters using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_elevation() {
@@ -72,7 +72,7 @@ class WPStrava_SOMMetricTest extends TestCase {
/**
* Test that 1.66 meters per second is a 1:00 minute/100m pace using both string and float inputs.
*
* @author Justin Foell <justin.foell@webdevstudios.com>
* @author Justin Foell <justin@foell.org>
* @since 1.7.1
*/
public function test_swimpace() {
+4 -1
View File
@@ -1,6 +1,9 @@
<?php
if ( ! defined( 'WPSTRAVA_PLUGIN_DIR' ) ) define( 'WPSTRAVA_PLUGIN_DIR', dirname( __FILE__ ) . '/../' );
if ( ! defined( 'WPSTRAVA_PLUGIN_DIR' ) ) {
define( 'WPSTRAVA_PLUGIN_DIR', dirname( __FILE__ ) . '/../' );
}
require_once dirname( __FILE__ ) . '/../lib/autoload.php';
require_once dirname( __FILE__ ) . '/../vendor/autoload.php';