Add a few tests to verify basic usage. Additional contributions welcome. -mi +++ tests/002.phpt 2015-04-13 20:40:26.000000000 -0400 @@ -0,0 +1,16 @@ +--TEST-- +Verify rejection of very simple password +--SKIPIF-- +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +Good, password 'password' rejected +++ tests/003.phpt 2015-04-13 20:48:28.000000000 -0400 @@ -0,0 +1,15 @@ +--TEST-- +Verify rejection of password identical to username +--SKIPIF-- +--POST-- +--GET-- +--FILE-- + +--EXPECTREGEX-- +Good, password identical to username rejected +++ tests/004.phpt 2015-04-13 20:40:43.000000000 -0400 @@ -0,0 +1,15 @@ +--TEST-- +Verify acceptance of good password +--SKIPIF-- +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +Good, harsh password accepted