use rdxl::{xhtml,xtype,xrender};
xtype!();
xrender!(A,{{self.b}}{{self.c}});
#[test]
fn default1() {
assert_eq!(xhtml!(
),"bb12");
}
#[test]
fn default2() {
assert_eq!(xhtml!(
),"12");
}
#[test]
fn default3() {
assert_eq!(xhtml!(
),"bb0");
}
#[test]
fn default4() {
assert_eq!(xhtml!(
),"0");
}
xtype!();
xrender!(B,{{self.c}});
#[test]
fn default5() {
assert_eq!(xhtml!(
),"3");
}
#[test]
fn default6() {
assert_eq!(xhtml!(
),"5");
}