Repository: intel/rohd (dart)

Issue:
Organize examples according to Dart recommendations
## Motivation
pub.dev gives extra pub points for following package recommendations for examples.  This also makes the example show up in the pub.dev site.
https://pub.dev/packages/rohd/score

## Desired solution
https://dart.dev/tools/pub/package-layout#examples

## Alternatives considered  
Examples are currently organized by name, but not following conventions.

## Additional details
Probably the "counter" example should be the main one.

Pull request description:
<!-- Please make sure you check out the contribution guidelines before submitting a pull request! -->

## Description & Motivation

pub.dev prefers certain naming for examples, so renaming counter.dart to example.dart gets extra pub points and makes the example visible on pub.dev.

## Related Issue(s)

Close #53

## Testing

Existing tests pass

## Backwards-compatibility

> Is this a breaking change that will not be backwards-compatible?  If yes, how so?

No

## Documentation

> Does the change require any updates to documentation?  If so, where?  Are they included?

Yes, fixed links in docs

Patch:
diff --git a/README.md b/README.md
index 7cceac48b..daee26103 100644
--- a/README.md
+++ b/README.md
@@ -137,7 +137,7 @@ class Counter extends Module {
 
 ```
 
-You can find an executable version of this counter example in [example/counter.dart](https://github.com/intel/rohd/blob/main/example/counter.dart).
+You can find an executable version of this counter example in [example/example.dart](https://github.com/intel/rohd/blob/main/example/example.dart).
 
 ### A more complex example
 
diff --git a/example/counter.dart b/example/example.dart
similarity index 99%
rename from example/counter.dart
rename to example/example.dart
index 0f5a6ab7e..68d73523b 100644
--- a/example/counter.dart
+++ b/example/example.dart
@@ -1,7 +1,7 @@
 /// Copyright (C) 2021 Intel Corporation
 /// SPDX-License-Identifier: BSD-3-Clause
 ///
-/// counter.dart
+/// example.dart
 /// A very basic example of a counter module.
 ///
 /// 2021 September 17


Test patch:
diff --git a/test/example_test.dart b/test/example_test.dart
index 25d2ce21a..52b90ea2b 100644
--- a/test/example_test.dart
+++ b/test/example_test.dart
@@ -10,7 +10,7 @@
 
 import 'package:test/test.dart';
 
-import '../example/counter.dart' as counter;
+import '../example/example.dart' as counter;
 import '../example/tree.dart' as tree;
 
 void main() {