! Copyright (C) 2016 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. USING: accessors colors.constants google.charts google.charts.private kernel math present sequences tools.test ; IN: google.charts.tests { t } [ { 0 0 } { 0 0 } COLOR: red >>background [ chart>url present length ] bi@ < ] unit-test { t } [ { 0 0 } { 0 0 } COLOR: red >>foreground [ chart>url present length ] bi@ < ] unit-test { t } [ "" "" t >>data-scale [ chart>url present length ] bi@ < ] unit-test { t } [ { 0 0 } { 0 0 } f >>width f >>height [ chart>url present length ] bi@ > ] unit-test { t } [ { 0 0 } { 0 0 } { 0 0 } >>margin [ chart>url present length ] bi@ < ] unit-test { t } [ { 0 0 } { 0 0 } 5 >>bar-width [ chart>url present length ] bi@ < ] unit-test