public void NoBorderTableTest() { Assert.Equal( @"CategoryID CategoryName Description 1 Beverages Soft drinks, coffees, teas, beers, and ales 2 Condiments Sweet and savory sauces, relishes, spreads, and seasonings 3 Confections Desserts, candies, and sweet breads 4 Dairy Products Cheeses 5 Grains/Cereals Breads, crackers, pasta, and cereal 6 Meat/Poultry Prepared meats 7 Produce Dried fruit and bean curd 8 Seafood Seaweed and fish ", ConUtility.NoBorderTable(Categories)); }
public void CreateSeamlessTableTest() { Assert.Equal( @"©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©¦ CategoryID©¦ CategoryName ©¦ Description ©¦ ©À©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©à©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©à©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©È ©¦ 1 ©¦ Beverages ©¦ Soft drinks, coffees, teas, beers, and ales ©¦ ©¦ 2 ©¦ Condiments ©¦ Sweet and savory sauces, relishes, spreads, and seasonings©¦ ©¦ 3 ©¦ Confections ©¦ Desserts, candies, and sweet breads ©¦ ©¦ 4 ©¦ Dairy Products©¦ Cheeses ©¦ ©¦ 5 ©¦ Grains/Cereals©¦ Breads, crackers, pasta, and cereal ©¦ ©¦ 6 ©¦ Meat/Poultry ©¦ Prepared meats ©¦ ©¦ 7 ©¦ Produce ©¦ Dried fruit and bean curd ©¦ ©¦ 8 ©¦ Seafood ©¦ Seaweed and fish ©¦ ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ø©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ø©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼ ", ConUtility.SeamlessTable(Categories)); }
public void BorderTableTest() { Assert.Equal( @"+------------+----------------+------------------------------------------------------------+ | CategoryID | CategoryName | Description | +------------+----------------+------------------------------------------------------------+ | 1 | Beverages | Soft drinks, coffees, teas, beers, and ales | | 2 | Condiments | Sweet and savory sauces, relishes, spreads, and seasonings | | 3 | Confections | Desserts, candies, and sweet breads | | 4 | Dairy Products | Cheeses | | 5 | Grains/Cereals | Breads, crackers, pasta, and cereal | | 6 | Meat/Poultry | Prepared meats | | 7 | Produce | Dried fruit and bean curd | | 8 | Seafood | Seaweed and fish | +------------+----------------+------------------------------------------------------------+ ", ConUtility.BorderTable(Categories)); }