]> git.mxchange.org Git - friendica-addons.git/blob - dav/sabre-vobject/tests/Sabre/VObject/VersionTest.php
Merge branch 'master' of git://github.com/friendica/friendica-addons
[friendica-addons.git] / dav / sabre-vobject / tests / Sabre / VObject / VersionTest.php
1 <?php
2
3 namespace Sabre\VObject;
4
5 class VersionTest extends \PHPUnit_Framework_TestCase {
6
7     function testString() {
8
9         $v = Version::VERSION;
10         $this->assertEquals(-1, version_compare('0.9.0',$v));
11
12         $s = Version::STABILITY;
13         $this->assertTrue($s == 'alpha' || $s == 'beta' || $s =='stable');
14
15     }
16
17 }