From 8865af4878a37fe1a83a4553c9416006be384d28 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 30 Aug 2018 09:36:57 +0200 Subject: [PATCH] Add tags to Instantiation tests --- test/src/grid_test.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/src/grid_test.dart b/test/src/grid_test.dart index 2435ae1..290b183 100644 --- a/test/src/grid_test.dart +++ b/test/src/grid_test.dart @@ -23,12 +23,12 @@ void main() { () { Grid sut = Grid(3, 3); expect(sut.length, 9); - }); + }, tags: const ["happy"]); test("gets created with the correct length for given rectangular gridsize", () { Grid sut = Grid(87, 85); expect(sut.length, 7395); - }); + }, tags: const ["happy"]); test("copies the content of another grid on .from Constructor call", () { Grid original = Grid(2, 2); original[0] = "Hey"; @@ -38,7 +38,7 @@ void main() { Grid sut = Grid.from(original); expect(sut, containsAllInOrder(["Hey", "you", "me", "together"])); - }); + }, tags: const ["happy"]); test("copies the length of another grid on .from Constructor call", () { Grid original = Grid(2, 2); original[0] = "Hey"; @@ -48,26 +48,26 @@ void main() { Grid sut = Grid.from(original); expect(sut.length, 4); - }); + }, tags: const ["happy"]); test("sets the length for list passed in on .fromList Constructor call", () { Grid sut = Grid.fromList(l, 3); expect(sut.length, 9); - }); + }, tags: const ["happy"]); test("sets the contents of list passed in on .fromList Constructor call", () { Grid sut = Grid.fromList(l, 3); expect(sut[3], "together"); - }); + }, tags: const ["happy"]); test( "sets the correct height for list passed in on .fromList Constructor call", () { Grid sut = Grid.fromList(l, 3); expect(sut.width, 3); - }); + }, tags: const ["happy"]); }); group("getter", () { setUp(() {