X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests.lisp;h=3cfb19fe953bdb5e1e58cad0d677339c40bd6ae5;hb=57e04b430882b68decd80bb87c75fe482cdbf711;hp=5f698bd69632e9bef3249918cf2f22f3a9fa467a;hpb=90c2e4c13bd89c48de9fe0da126547447b7b9e01;p=hyperobject.git diff --git a/tests.lisp b/tests.lisp index 5f698bd..3cfb19f 100644 --- a/tests.lisp +++ b/tests.lisp @@ -141,12 +141,24 @@ Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace ") -(deftest :s1 (years-at-address home) +(deftest :cv1 (years-at-address home) 10) -(deftest :s2 (years-at-address office) +(deftest :cv2 (years-at-address office) 5) -(deftest :cv1 (equal (create-time mary) *now*) +(deftest :cv3 (equal (create-time mary) *now*) t) + +(deftest :s1 (slot-value (class-of mary) 'ho::user-name) + "Person") + +(deftest :s2 (slot-value (class-of mary) 'ho::user-name-plural) + "Persons") + +(deftest :s3 (slot-value (class-of home) 'ho::user-name-plural) + "Addresses") + +(deftest :s4 (slot-value (class-of mary) 'ho::description) + "A Person")