(function(){vare,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m;a=0;l=0;f=0;u=document.getElementsByTagName("div");for(p=0,v=u.length;p<v;p++){o=u[p];s=o.getAttribute("data-assert");if(s){n=s.split(";");for(d=0,m=n.length;d<m;d++){e=n[d];a++;e=e.trim();t=e.split(":");c=t[0].trim();h=t[1].trim();i=window.getComputedStyle(o);r=i.getPropertyValue(c);if(r===h){l++;o.style.backgroundColor="green"}else{f++;console.log(c+" failed. Actual value = "+r);o.style.backgroundColor="red"}o.style.color="white"}}}}).call(this);
\ No newline at end of file
(function(){vare,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m;a=0;l=0;f=0;u=document.getElementsByTagName("div");for(p=0,v=u.length;p<v;p++){o=u[p];s=o.getAttribute("data-assert");if(s){n=s.split(";");for(d=0,m=n.length;d<m;d++){e=n[d];e=e.trim();t=e.split(":");if(t.length!==2)continue;a++;c=t[0].trim();h=t[1].trim();i=window.getComputedStyle(o);r=i.getPropertyValue(c);if(r===h){l++;o.style.backgroundColor="green"}else{f++;console.log("Assertion failed: "+c+" should have been "+h+" but was "+r+" instead.");o.style.backgroundColor="red"}o.style.color="white"}}}console.log(a+" assertions tested. "+l+" passed. "+f+" failed.")}).call(this);